The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of Seagull, reference master (4c9a7f), with Swift 6.1 for macOS (SPM) on 24 Apr 2025 10:41:21 UTC.

Swift 6 data race errors: 8

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gavrilaf/seagull.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/gavrilaf/seagull
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 4c9a7f6 Update README.md
Cloned https://github.com/gavrilaf/seagull.git
Revision (git rev-parse @):
4c9a7f6c9cd8d8a306a70c08174eaea77b96e46e
SUCCESS checkout https://github.com/gavrilaf/seagull.git at master
Fetching https://github.com/gavrilaf/SgRouter.git
Fetching https://github.com/gavrilaf/SwiftPerfTool.git
Fetching https://github.com/antitypical/Result.git
Fetching https://github.com/apple/swift-nio.git from cache
[1/72] Fetching swiftperftool
[73/162] Fetching swiftperftool, sgrouter
[162/2695] Fetching swiftperftool, sgrouter, result
Fetched https://github.com/gavrilaf/SwiftPerfTool.git from cache (0.95s)
Fetched https://github.com/gavrilaf/SgRouter.git from cache (0.95s)
Fetched https://github.com/antitypical/Result.git from cache (0.95s)
Fetched https://github.com/apple/swift-nio.git from cache (0.95s)
Computing version for https://github.com/gavrilaf/SwiftPerfTool.git
Computed https://github.com/gavrilaf/SwiftPerfTool.git at 0.1.1 (1.59s)
Computing version for https://github.com/gavrilaf/SgRouter.git
Computed https://github.com/gavrilaf/SgRouter.git at 0.1.1 (0.63s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.64s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.60s)
Fetching https://github.com/apple/swift-nio-zlib-support.git
[1/15] Fetching swift-nio-zlib-support
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.63s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (1.26s)
Creating working copy for https://github.com/gavrilaf/SgRouter.git
Working copy of https://github.com/gavrilaf/SgRouter.git resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/gavrilaf/SwiftPerfTool.git
Working copy of https://github.com/gavrilaf/SwiftPerfTool.git resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "seagull",
      "name": "Seagull",
      "url": "https://github.com/gavrilaf/seagull.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/seagull",
      "dependencies": [
        {
          "identity": "result",
          "name": "Result",
          "url": "https://github.com/antitypical/Result.git",
          "version": "4.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Result",
          "dependencies": [
          ]
        },
        {
          "identity": "swift-nio",
          "name": "swift-nio",
          "url": "https://github.com/apple/swift-nio.git",
          "version": "1.14.4",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio",
          "dependencies": [
            {
              "identity": "swift-nio-zlib-support",
              "name": "swift-nio-zlib-support",
              "url": "https://github.com/apple/swift-nio-zlib-support.git",
              "version": "1.0.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-nio-zlib-support",
              "dependencies": [
              ]
            }
          ]
        },
        {
          "identity": "swiftperftool",
          "name": "SwiftPerfTool",
          "url": "https://github.com/gavrilaf/SwiftPerfTool.git",
          "version": "0.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPerfTool",
          "dependencies": [
          ]
        },
        {
          "identity": "sgrouter",
          "name": "SgRouter",
          "url": "https://github.com/gavrilaf/SgRouter.git",
          "version": "0.1.1",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SgRouter",
          "dependencies": [
            {
              "identity": "swiftperftool",
              "name": "SwiftPerfTool",
              "url": "https://github.com/gavrilaf/SwiftPerfTool.git",
              "version": "0.1.1",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftPerfTool",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/gavrilaf/seagull.git
[1/799] Fetching seagull
Fetched https://github.com/gavrilaf/seagull.git from cache (0.79s)
Fetching https://github.com/antitypical/Result.git from cache
Fetching https://github.com/apple/swift-nio.git from cache
Fetching https://github.com/gavrilaf/SwiftPerfTool.git from cache
Fetching https://github.com/gavrilaf/SgRouter.git from cache
Fetched https://github.com/antitypical/Result.git from cache (0.53s)
Fetched https://github.com/gavrilaf/SwiftPerfTool.git from cache (0.53s)
Fetched https://github.com/gavrilaf/SgRouter.git from cache (0.53s)
Fetched https://github.com/apple/swift-nio.git from cache (0.72s)
Computing version for https://github.com/gavrilaf/SwiftPerfTool.git
Computed https://github.com/gavrilaf/SwiftPerfTool.git at 0.1.1 (0.77s)
Computing version for https://github.com/gavrilaf/SgRouter.git
Computed https://github.com/gavrilaf/SgRouter.git at 0.1.1 (0.02s)
Computing version for https://github.com/antitypical/Result.git
Computed https://github.com/antitypical/Result.git at 4.1.0 (0.04s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 1.14.4 (0.03s)
Fetching https://github.com/apple/swift-nio-zlib-support.git from cache
Fetched https://github.com/apple/swift-nio-zlib-support.git from cache (0.49s)
Computing version for https://github.com/apple/swift-nio-zlib-support.git
Computed https://github.com/apple/swift-nio-zlib-support.git at 1.0.0 (0.54s)
Creating working copy for https://github.com/gavrilaf/SgRouter.git
Working copy of https://github.com/gavrilaf/SgRouter.git resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-nio-zlib-support.git
Working copy of https://github.com/apple/swift-nio-zlib-support.git resolved at 1.0.0
Creating working copy for https://github.com/antitypical/Result.git
Working copy of https://github.com/antitypical/Result.git resolved at 4.1.0
Creating working copy for https://github.com/gavrilaf/SwiftPerfTool.git
Working copy of https://github.com/gavrilaf/SwiftPerfTool.git resolved at 0.1.1
Creating working copy for https://github.com/gavrilaf/seagull.git
Working copy of https://github.com/gavrilaf/seagull.git resolved at master (4c9a7f6)
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 1.14.4
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
Found 4 product dependencies
  - Result
  - swift-nio
  - SwiftPerfTool
  - SgRouter
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/gavrilaf/seagull.git
https://github.com/gavrilaf/seagull.git
{
  "dependencies" : [
    {
      "identity" : "result",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/antitypical/Result.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swiftperftool",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SwiftPerfTool.git"
    },
    {
      "identity" : "sgrouter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SgRouter.git"
    }
  ],
  "manifest_display_name" : "Seagull",
  "name" : "Seagull",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Seagull",
      "targets" : [
        "Seagull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SeagullRestDemo",
      "targets" : [
        "SeagullRestDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SeagullPerfTest",
      "targets" : [
        "SeagullPerfTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SeagullTests",
      "module_type" : "SwiftTarget",
      "name" : "SeagullTests",
      "path" : "Tests/SeagullTests",
      "sources" : [
        "EngineIntegrationTests.swift",
        "EngineNIOTests.swift",
        "Helpers/Asserts.swift",
        "Helpers/NIO+TestHelpers.swift",
        "Helpers/Resources+TestHelpres.swift",
        "Helpers/Route+TestHelpers.swift",
        "Helpers/TestServer.swift",
        "RouterTests.swift",
        "SgHandlerTests.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SeagullRestDemo",
      "module_type" : "SwiftTarget",
      "name" : "SeagullRestDemo",
      "path" : "Sources/Examples/SeagullRestDemo",
      "product_memberships" : [
        "SeagullRestDemo"
      ],
      "sources" : [
        "SafeMap.swift",
        "handlers.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SeagullPerfTest",
      "module_type" : "SwiftTarget",
      "name" : "SeagullPerfTest",
      "path" : "Sources/Examples/SeagullPerfTest",
      "product_dependencies" : [
        "SwiftPerfTool"
      ],
      "product_memberships" : [
        "SeagullPerfTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Seagull",
      "module_type" : "SwiftTarget",
      "name" : "Seagull",
      "path" : "Sources/Seagull",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOConcurrencyHelpers",
        "Result",
        "SgRouter"
      ],
      "product_memberships" : [
        "Seagull",
        "SeagullRestDemo",
        "SeagullPerfTest"
      ],
      "sources" : [
        "Engine.swift",
        "HTTPHandler.swift",
        "Router/HttpRouter.swift",
        "Router/RouteHandler.swift",
        "Router/RouterGroup.swift",
        "Router/UriHandler.swift",
        "Types/Errors.swift",
        "Types/SgDataResponse.swift",
        "Types/SgFileResponse.swift",
        "Types/SgRequest.swift",
        "Types/SgRequestContext.swift",
        "Types/SgResult.swift",
        "Utils/ErrorProvider.swift",
        "Utils/HTTP+Seagull.swift",
        "Utils/LogProvider.swift",
        "Utils/NIOHelpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/26] Write sources
[5/26] Write SeagullRestDemo-entitlement.plist
[5/26] Write SeagullPerfTest-entitlement.plist
[6/26] Write sources
[12/26] Write swift-version-2F0A5646E1D333AE.txt
[13/26] Compiling CNIOLinux shim.c
[14/26] Compiling CNIOZlib empty.c
[14/26] Compiling CNIOLinux ifaddrs-android.c
[16/45] Compiling CNIOHTTPParser c_nio_http_parser.c
[17/45] Compiling CNIODarwin shim.c
[18/45] Compiling CNIOSHA1 c_nio_sha1.c
[19/45] Compiling c-atomics.c
[21/48] Compiling NIOPriorityQueue PriorityQueue.swift
[22/48] Compiling NIOConcurrencyHelpers atomics.swift
[23/48] Compiling NIOConcurrencyHelpers lock.swift
[24/48] Emitting module NIOConcurrencyHelpers
[25/48] Compiling NIOPriorityQueue Heap.swift
[26/48] Emitting module NIOPriorityQueue
[27/99] Compiling NIO IOData.swift
[28/99] Compiling NIO IntegerTypes.swift
[29/99] Compiling NIO Interfaces.swift
[30/99] Compiling NIO Linux.swift
[31/99] Compiling NIO LinuxCPUSet.swift
[32/104] Emitting module NIO
[33/104] Compiling Result ResultProtocol.swift
[34/104] Compiling NIO FileHandle.swift
[35/104] Compiling NIO FileRegion.swift
[36/104] Compiling NIO GetaddrinfoResolver.swift
[37/104] Compiling NIO HappyEyeballs.swift
[38/104] Compiling NIO Heap.swift
[39/104] Compiling NIO IO.swift
[40/104] Compiling NIO ChannelInvoker.swift
[41/104] Compiling NIO ChannelOption.swift
[42/104] Compiling NIO ChannelPipeline.swift
[43/104] Compiling NIO CircularBuffer.swift
[44/104] Compiling NIO Codec.swift
[45/104] Compiling NIO CompositeError.swift
[46/104] Compiling NIO PendingWritesManager.swift
[47/104] Compiling NIO PriorityQueue.swift
[48/104] Compiling NIO RecvByteBufferAllocator.swift
[49/104] Compiling NIO Resolver.swift
[50/104] Compiling NIO Selectable.swift
[51/104] Compiling NIO ByteBuffer-core.swift
[52/104] Compiling NIO ByteBuffer-int.swift
[53/104] Compiling NIO ByteBuffer-views.swift
[54/104] Compiling NIO Channel.swift
[55/104] Compiling NIO ChannelHandler.swift
[56/104] Compiling NIO ChannelHandlers.swift
[57/104] Compiling NIO SocketOptionProvider.swift
[58/104] Compiling NIO System.swift
[59/104] Compiling NIO Thread.swift
[60/104] Compiling NIO TypeAssistedChannelHandler.swift
[61/104] Compiling NIO Utilities.swift
[62/104] Compiling NIO MarkedCircularBuffer.swift
[63/104] Compiling NIO MulticastChannel.swift
[64/104] Compiling NIO NIOAny.swift
[65/104] Compiling NIO NonBlockingFileIO.swift
[66/104] Compiling NIO PendingDatagramWritesManager.swift
[67/104] Compiling NIO Selector.swift
[68/104] Compiling NIO ServerSocket.swift
[69/104] Compiling NIO Socket.swift
[70/104] Compiling NIO SocketAddresses.swift
[71/104] Compiling NIO SocketChannel.swift
[72/104] Compiling NIO AddressedEnvelope.swift
[73/104] Compiling NIO BaseSocket.swift
[74/104] Compiling NIO BaseSocketChannel.swift
[75/104] Compiling NIO BlockingIOThreadPool.swift
[76/104] Compiling NIO Bootstrap.swift
[77/104] Compiling NIO ByteBuffer-aux.swift
[78/104] Compiling NIO ContiguousCollection.swift
[79/104] Compiling NIO DeadChannel.swift
[80/104] Compiling NIO Embedded.swift
[81/104] Compiling NIO EventLoop.swift
[82/104] Compiling NIO EventLoopFuture.swift
[83/104] Compiling NIO FileDescriptor.swift
[84/114] Compiling SwiftPerfTool SwiftPerfTool.swift
[85/114] Compiling SwiftPerfTool Memory.swift
[86/114] Compiling SwiftPerfTool Scores.swift
[87/114] Compiling SwiftPerfTool Errors.swift
[88/114] Compiling SwiftPerfTool ApproximateEquatable.swift
[89/114] Emitting module SwiftPerfTool
[90/114] Compiling NIOHTTP1 HTTPServerProtocolErrorHandler.swift
[91/114] Compiling SgRouter UriParser.swift
[92/114] Compiling SgRouter Node.swift
[93/114] Emitting module SgRouter
[94/114] Compiling SgRouter RouterError.swift
[95/114] Compiling SgRouter Router.swift
[96/114] Compiling Result NoError.swift
[97/114] Compiling Result AnyError.swift
[98/114] Emitting module Result
[99/114] Compiling Result Result.swift
[100/114] Compiling NIOHTTP1 HTTPUpgradeHandler.swift
[101/114] Compiling NIOHTTP1 HTTPEncoder.swift
[102/114] Compiling NIOHTTP1 HTTPServerPipelineHandler.swift
[103/114] Compiling NIOHTTP1 HTTPTypes.swift
[104/114] Compiling NIOHTTP1 HTTPPipelineSetup.swift
[105/114] Compiling NIOHTTP1 HTTPResponseCompressor.swift
[106/114] Compiling NIOHTTP1 ByteCollectionUtils.swift
[107/114] Emitting module NIOHTTP1
[108/114] Compiling NIOHTTP1 HTTPDecoder.swift
[109/130] Compiling Seagull LogProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/LogProvider.swift:17:36: warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
15 |     public func info(_ msg: @autoclosure @escaping () -> String) {
16 |         queue.async {
17 |             DefaultLogger.printMsg(msg(), prefix: Prefix.info)
   |                                    |- warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/LogProvider.swift:23:36: warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
21 |     public func warning(_ msg: @autoclosure @escaping () -> String) {
22 |         queue.async {
23 |             DefaultLogger.printMsg(msg(), prefix: Prefix.warning)
   |                                    |- warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
24 |         }
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/LogProvider.swift:29:36: warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
27 |     public func error(_ msg: @autoclosure @escaping () -> String) {
28 |         queue.async {
29 |             DefaultLogger.printMsg(msg(), prefix: Prefix.error)
   |                                    |- warning: capture of 'msg' with non-sendable type '() -> String' in a '@Sendable' closure
   |                                    `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
30 |         }
31 |     }
[110/130] Compiling Seagull ErrorProvider.swift
[111/131] Compiling Seagull HTTP+Seagull.swift
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:6:27: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | public struct Headers {
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
    |                           `- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  1 | import Foundation
  2 | import NIOHTTP1
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  3 |
  4 | public struct Headers {
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
    |                           |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:7:27: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
    |                           |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:8:27: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
    |                           |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:9:27: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
    |                           |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
 11 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:10:27: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
    |                           |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |     }
 12 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:16:1: warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
 14 | // MARK: -
 15 |
 16 | extension HTTPMethod: Hashable {
    | |- warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 17 |     public var hashValue: Int {
 18 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:17:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
 15 |
 16 | extension HTTPMethod: Hashable {
 17 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
 18 |         switch self {
 19 |         case .GET:
[112/131] Compiling Seagull SgRequestContext.swift
[113/131] Compiling Seagull SgResult.swift
[114/131] Compiling Seagull RouterGroup.swift
[115/131] Compiling Seagull UriHandler.swift
[116/131] Compiling Seagull SgFileResponse.swift
[117/131] Compiling Seagull SgRequest.swift
[118/131] Compiling Seagull HttpRouter.swift
[119/131] Compiling Seagull RouteHandler.swift
[120/131] Compiling Seagull Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:39:10: warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 37 | public enum RouterError: SgError {
 38 |     case invalidPath(path: String)
 39 |     case notFound(method: HTTPMethod, uri: String)
    |          `- warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 40 |
 41 |     public var httpCode: HTTPResponseStatus {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:840:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 838 | }
 839 |
 840 | public enum HTTPMethod: Equatable {
     |             `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 841 |     public enum HasBody {
 842 |         case yes
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  1 | import Foundation
  2 | import NIO
  3 | import NIOHTTP1
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  4 |
  5 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:86:16: warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 84 |
 85 | public struct SgErrorResponse: Error {
 86 |     public let response: SgDataResponse
    |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 87 |     public let error: Error?
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/SgDataResponse.swift:4:15: note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 2 | import NIOHTTP1
 3 |
 4 | public struct SgDataResponse {
   |               `- note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 5 |     public let code: HTTPResponseStatus
 6 |     public let headers: HTTPHeaders
[121/131] Compiling Seagull SgDataResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:39:10: warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 37 | public enum RouterError: SgError {
 38 |     case invalidPath(path: String)
 39 |     case notFound(method: HTTPMethod, uri: String)
    |          `- warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 40 |
 41 |     public var httpCode: HTTPResponseStatus {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:840:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 838 | }
 839 |
 840 | public enum HTTPMethod: Equatable {
     |             `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 841 |     public enum HasBody {
 842 |         case yes
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  1 | import Foundation
  2 | import NIO
  3 | import NIOHTTP1
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  4 |
  5 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:86:16: warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 84 |
 85 | public struct SgErrorResponse: Error {
 86 |     public let response: SgDataResponse
    |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 87 |     public let error: Error?
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/SgDataResponse.swift:4:15: note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 2 | import NIOHTTP1
 3 |
 4 | public struct SgDataResponse {
   |               `- note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 5 |     public let code: HTTPResponseStatus
 6 |     public let headers: HTTPHeaders
[122/131] Compiling Seagull Engine.swift
[123/131] Compiling Seagull HTTPHandler.swift
[124/131] Emitting module Seagull
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:39:10: warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 37 | public enum RouterError: SgError {
 38 |     case invalidPath(path: String)
 39 |     case notFound(method: HTTPMethod, uri: String)
    |          `- warning: associated value 'notFound(method:uri:)' of 'Sendable'-conforming enum 'RouterError' has non-sendable type 'HTTPMethod'; this is an error in the Swift 6 language mode
 40 |
 41 |     public var httpCode: HTTPResponseStatus {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:840:13: note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 838 | }
 839 |
 840 | public enum HTTPMethod: Equatable {
     |             `- note: enum 'HTTPMethod' does not conform to the 'Sendable' protocol
 841 |     public enum HasBody {
 842 |         case yes
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:3:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  1 | import Foundation
  2 | import NIO
  3 | import NIOHTTP1
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  4 |
  5 | // MARK: -
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/Errors.swift:86:16: warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 84 |
 85 | public struct SgErrorResponse: Error {
 86 |     public let response: SgDataResponse
    |                `- warning: stored property 'response' of 'Sendable'-conforming struct 'SgErrorResponse' has non-sendable type 'SgDataResponse'; this is an error in the Swift 6 language mode
 87 |     public let error: Error?
 88 | }
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Types/SgDataResponse.swift:4:15: note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 2 | import NIOHTTP1
 3 |
 4 | public struct SgDataResponse {
   |               `- note: consider making struct 'SgDataResponse' conform to the 'Sendable' protocol
 5 |     public let code: HTTPResponseStatus
 6 |     public let headers: HTTPHeaders
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:6:27: warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  4 | public struct Headers {
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
    |                           `- warning: static property 'text' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  1 | import Foundation
  2 | import NIOHTTP1
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'NIOHTTP1'
  3 |
  4 | public struct Headers {
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
    |                           |- note: add '@MainActor' to make static property 'text' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:7:27: warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  5 |     public struct MIME {
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
    |                           |- warning: static property 'json' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'json' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:8:27: warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  6 |         public static let text = HTTPHeaders([("Content-Type", "text/plain")])
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
    |                           |- warning: static property 'octetStream' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'octetStream' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:9:27: warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  7 |         public static let json = HTTPHeaders([("Content-Type", "application/json")])
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
    |                           |- warning: static property 'html' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'html' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
 11 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:10:27: warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |         public static let octetStream = HTTPHeaders([("Content-Type", "application/octet-stream")])
  9 |         public static let html = HTTPHeaders([("Content-Type", "text/html")])
 10 |         public static let jpg = HTTPHeaders([("Content-Type", "image/jpg")])
    |                           |- warning: static property 'jpg' is not concurrency-safe because non-'Sendable' type 'HTTPHeaders' may have shared mutable state; this is an error in the Swift 6 language mode
    |                           |- note: add '@MainActor' to make static property 'jpg' part of global actor 'MainActor'
    |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 11 |     }
 12 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-nio/Sources/NIOHTTP1/HTTPTypes.swift:446:15: note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 444 | /// or split representation, such that header fields that are able to be repeated
 445 | /// can be represented appropriately.
 446 | public struct HTTPHeaders: CustomStringConvertible {
     |               `- note: struct 'HTTPHeaders' does not conform to the 'Sendable' protocol
 447 |
 448 |     private final class _Storage {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:16:1: warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
 14 | // MARK: -
 15 |
 16 | extension HTTPMethod: Hashable {
    | |- warning: extension declares a conformance of imported type 'HTTPMethod' to imported protocol 'Hashable'; this will not behave correctly if the owners of 'NIOHTTP1' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 17 |     public var hashValue: Int {
 18 |         switch self {
/Users/admin/builder/spi-builder-workspace/Sources/Seagull/Utils/HTTP+Seagull.swift:17:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
 15 |
 16 | extension HTTPMethod: Hashable {
 17 |     public var hashValue: Int {
    |                `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPMethod' to 'Hashable' by implementing 'hash(into:)' instead
 18 |         switch self {
 19 |         case .GET:
[125/131] Compiling Seagull NIOHelpers.swift
[126/137] Compiling SeagullRestDemo SafeMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:17:13: warning: capture of 'self' with non-sendable type 'SafeMap<T, E>' in a '@Sendable' closure
 2 | import Dispatch
 3 |
 4 | class SafeMap<T: Hashable, E> {
   |       `- note: generic class 'SafeMap' does not conform to the 'Sendable' protocol
 5 |
 6 |     private let queue = DispatchQueue(label:"", attributes: .concurrent)
   :
15 |     func set(value: E, forKey key: T) {
16 |         queue.async(flags: .barrier) {
17 |             self.map[key] = value
   |             `- warning: capture of 'self' with non-sendable type 'SafeMap<T, E>' in a '@Sendable' closure
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:17:22: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure
 2 | import Dispatch
 3 |
 4 | class SafeMap<T: Hashable, E> {
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     private let queue = DispatchQueue(label:"", attributes: .concurrent)
   :
15 |     func set(value: E, forKey key: T) {
16 |         queue.async(flags: .barrier) {
17 |             self.map[key] = value
   |                      `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:17:29: warning: capture of 'value' with non-sendable type 'E' in a '@Sendable' closure
 2 | import Dispatch
 3 |
 4 | class SafeMap<T: Hashable, E> {
   |                            `- note: consider making generic parameter 'E' conform to the 'Sendable' protocol
 5 |
 6 |     private let queue = DispatchQueue(label:"", attributes: .concurrent)
   :
15 |     func set(value: E, forKey key: T) {
16 |         queue.async(flags: .barrier) {
17 |             self.map[key] = value
   |                             `- warning: capture of 'value' with non-sendable type 'E' in a '@Sendable' closure
18 |         }
19 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:23:13: warning: capture of 'self' with non-sendable type 'SafeMap<T, E>' in a '@Sendable' closure
 2 | import Dispatch
 3 |
 4 | class SafeMap<T: Hashable, E> {
   |       `- note: generic class 'SafeMap' does not conform to the 'Sendable' protocol
 5 |
 6 |     private let queue = DispatchQueue(label:"", attributes: .concurrent)
   :
21 |     func remove(key: T) {
22 |         queue.async(flags: .barrier) {
23 |             self.map.removeValue(forKey: key)
   |             `- warning: capture of 'self' with non-sendable type 'SafeMap<T, E>' in a '@Sendable' closure
24 |         }
25 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/SafeMap.swift:23:42: warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure
 2 | import Dispatch
 3 |
 4 | class SafeMap<T: Hashable, E> {
   |               `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
 5 |
 6 |     private let queue = DispatchQueue(label:"", attributes: .concurrent)
   :
21 |     func remove(key: T) {
22 |         queue.async(flags: .barrier) {
23 |             self.map.removeValue(forKey: key)
   |                                          `- warning: capture of 'key' with non-sendable type 'T' in a '@Sendable' closure
24 |         }
25 |     }
[127/137] Compiling SeagullPerfTest main.swift
[128/137] Emitting module SeagullPerfTest
[128/137] Write Objects.LinkFileList
[130/137] Compiling SeagullRestDemo main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/main.swift:15:9: warning: variable 'router' was never mutated; consider changing to 'let' constant
13 |     print("Starting Seagull base REST server...")
14 |
15 |     var router = HttpRouter()
   |         `- warning: variable 'router' was never mutated; consider changing to 'let' constant
16 |
17 |     try router.GET("/", handler: Handlers.ping)
[131/137] Emitting module SeagullRestDemo
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/handlers.swift:56:16: warning: static property 'inst' is not concurrency-safe because non-'Sendable' type 'Db' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // MARK: -
 53 |
 54 | class Db {
    |       `- note: class 'Db' does not conform to the 'Sendable' protocol
 55 |
 56 |     static let inst = Db()
    |                |- warning: static property 'inst' is not concurrency-safe because non-'Sendable' type 'Db' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'inst' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // MARK: -
[132/137] Compiling SeagullRestDemo handlers.swift
/Users/admin/builder/spi-builder-workspace/Sources/Examples/SeagullRestDemo/handlers.swift:56:16: warning: static property 'inst' is not concurrency-safe because non-'Sendable' type 'Db' may have shared mutable state; this is an error in the Swift 6 language mode
 52 | // MARK: -
 53 |
 54 | class Db {
    |       `- note: class 'Db' does not conform to the 'Sendable' protocol
 55 |
 56 |     static let inst = Db()
    |                |- warning: static property 'inst' is not concurrency-safe because non-'Sendable' type 'Db' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: add '@MainActor' to make static property 'inst' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 57 |
 58 |     // MARK: -
[132/137] Write Objects.LinkFileList
[133/137] Linking SeagullPerfTest
[134/137] Linking SeagullRestDemo
[135/137] Applying SeagullPerfTest
[136/137] Applying SeagullRestDemo
Build complete! (10.16s)
warning: 'swift-nio-zlib-support': ignoring declared target(s) 'swift-nio-zlib-support' in the system package
warning: failed to retrieve search paths with pkg-config; maybe pkg-config is not installed
warning: couldn't find pc file for zlib
warning: couldn't find pc file for zlib
Build complete.
{
  "dependencies" : [
    {
      "identity" : "result",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/antitypical/Result.git"
    },
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.5",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swiftperftool",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SwiftPerfTool.git"
    },
    {
      "identity" : "sgrouter",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/gavrilaf/SgRouter.git"
    }
  ],
  "manifest_display_name" : "Seagull",
  "name" : "Seagull",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Seagull",
      "targets" : [
        "Seagull"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SeagullRestDemo",
      "targets" : [
        "SeagullRestDemo"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SeagullPerfTest",
      "targets" : [
        "SeagullPerfTest"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SeagullTests",
      "module_type" : "SwiftTarget",
      "name" : "SeagullTests",
      "path" : "Tests/SeagullTests",
      "sources" : [
        "EngineIntegrationTests.swift",
        "EngineNIOTests.swift",
        "Helpers/Asserts.swift",
        "Helpers/NIO+TestHelpers.swift",
        "Helpers/Resources+TestHelpres.swift",
        "Helpers/Route+TestHelpers.swift",
        "Helpers/TestServer.swift",
        "RouterTests.swift",
        "SgHandlerTests.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SeagullRestDemo",
      "module_type" : "SwiftTarget",
      "name" : "SeagullRestDemo",
      "path" : "Sources/Examples/SeagullRestDemo",
      "product_memberships" : [
        "SeagullRestDemo"
      ],
      "sources" : [
        "SafeMap.swift",
        "handlers.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SeagullPerfTest",
      "module_type" : "SwiftTarget",
      "name" : "SeagullPerfTest",
      "path" : "Sources/Examples/SeagullPerfTest",
      "product_dependencies" : [
        "SwiftPerfTool"
      ],
      "product_memberships" : [
        "SeagullPerfTest"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Seagull"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Seagull",
      "module_type" : "SwiftTarget",
      "name" : "Seagull",
      "path" : "Sources/Seagull",
      "product_dependencies" : [
        "NIO",
        "NIOHTTP1",
        "NIOConcurrencyHelpers",
        "Result",
        "SgRouter"
      ],
      "product_memberships" : [
        "Seagull",
        "SeagullRestDemo",
        "SeagullPerfTest"
      ],
      "sources" : [
        "Engine.swift",
        "HTTPHandler.swift",
        "Router/HttpRouter.swift",
        "Router/RouteHandler.swift",
        "Router/RouterGroup.swift",
        "Router/UriHandler.swift",
        "Types/Errors.swift",
        "Types/SgDataResponse.swift",
        "Types/SgFileResponse.swift",
        "Types/SgRequest.swift",
        "Types/SgRequestContext.swift",
        "Types/SgResult.swift",
        "Utils/ErrorProvider.swift",
        "Utils/HTTP+Seagull.swift",
        "Utils/LogProvider.swift",
        "Utils/NIOHelpers.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.