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 HttpSwift, reference master (fd66de), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 03:50:00 UTC.

Swift 6 data race errors: 4

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/BiAtoms/Http.swift.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/BiAtoms/Http.swift
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at fd66de4 Ignore nonpassing test
Submodule path 'Sources/Frameworks/RequestSwift': checked out '47cea3de9cb961f77c659a27894d32454b42e25f'
Submodule path 'Sources/Frameworks/RequestSwift/Sources/Frameworks/SocketSwift': checked out '36911c13adfe12859ed43dcba878052b1897fcd3'
Submodule path 'Sources/Frameworks/SocketSwift': checked out '36911c13adfe12859ed43dcba878052b1897fcd3'
Submodule 'Sources/Frameworks/RequestSwift' (https://github.com/BiAtoms/Request.swift) registered for path 'Sources/Frameworks/RequestSwift'
Submodule 'Sources/Frameworks/SocketSwift' (https://github.com/BiAtoms/Socket.swift) registered for path 'Sources/Frameworks/SocketSwift'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Frameworks/RequestSwift'...
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Frameworks/SocketSwift'...
Submodule 'Sources/Frameworks/SocketSwift' (https://github.com/BiAtoms/Socket.swift) registered for path 'Sources/Frameworks/RequestSwift/Sources/Frameworks/SocketSwift'
Cloning into '/Users/admin/builder/spi-builder-workspace/Sources/Frameworks/RequestSwift/Sources/Frameworks/SocketSwift'...
Cloned https://github.com/BiAtoms/Http.swift.git
Revision (git rev-parse @):
fd66de454656b4c385ffca16a3d46675e51eb649
SUCCESS checkout https://github.com/BiAtoms/Http.swift.git at master
Fetching https://github.com/BiAtoms/Socket.swift.git
Fetching https://github.com/BiAtoms/Request.swift.git
[1/299] Fetching request.swift
[300/723] Fetching request.swift, socket.swift
Fetched https://github.com/BiAtoms/Request.swift.git from cache (0.79s)
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.79s)
Computing version for https://github.com/BiAtoms/Request.swift.git
Computed https://github.com/BiAtoms/Request.swift.git at 2.3.0 (0.67s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.68s)
Creating working copy for https://github.com/BiAtoms/Request.swift.git
Working copy of https://github.com/BiAtoms/Request.swift.git resolved at 2.3.0
Creating working copy for https://github.com/BiAtoms/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at 2.4.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": "http.swift",
      "name": "HttpSwift",
      "url": "https://github.com/BiAtoms/Http.swift.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Http.swift",
      "dependencies": [
        {
          "identity": "socket.swift",
          "name": "SocketSwift",
          "url": "https://github.com/BiAtoms/Socket.swift.git",
          "version": "2.4.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Socket.swift",
          "dependencies": [
          ]
        },
        {
          "identity": "request.swift",
          "name": "RequestSwift",
          "url": "https://github.com/BiAtoms/Request.swift.git",
          "version": "2.3.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Request.swift",
          "dependencies": [
            {
              "identity": "socket.swift",
              "name": "SocketSwift",
              "url": "https://github.com/BiAtoms/Socket.swift.git",
              "version": "2.4.0",
              "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Socket.swift",
              "dependencies": [
              ]
            }
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/BiAtoms/Http.swift.git
[1/395] Fetching http.swift
Fetched https://github.com/BiAtoms/Http.swift.git from cache (0.82s)
Fetching https://github.com/BiAtoms/Request.swift.git from cache
Fetching https://github.com/BiAtoms/Socket.swift.git from cache
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.49s)
Fetched https://github.com/BiAtoms/Request.swift.git from cache (0.49s)
Computing version for https://github.com/BiAtoms/Request.swift.git
Computed https://github.com/BiAtoms/Request.swift.git at 2.3.0 (0.02s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.02s)
Creating working copy for https://github.com/BiAtoms/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at 2.4.0
Creating working copy for https://github.com/BiAtoms/Http.swift.git
Working copy of https://github.com/BiAtoms/Http.swift.git resolved at master (fd66de4)
Creating working copy for https://github.com/BiAtoms/Request.swift.git
Working copy of https://github.com/BiAtoms/Request.swift.git resolved at 2.3.0
warning: '.resolve-product-dependencies': dependency 'http.swift' is not used by any target
Found 2 product dependencies
  - SocketSwift
  - RequestSwift
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/BiAtoms/Http.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/12] Compiling SocketSwift Protocol.swift
[5/12] Emitting module SocketSwift
[6/12] Compiling SocketSwift Error.swift
[7/12] Compiling SocketSwift OS.swift
[8/12] Compiling SocketSwift Family.swift
[9/12] Compiling SocketSwift Type.swift
[10/12] Compiling SocketSwift Option.swift
[11/12] Compiling SocketSwift TLS.swift
[12/12] Compiling SocketSwift Socket.swift
[13/27] Compiling HttpSwift Route.swift
[14/27] Compiling HttpSwift Router.swift
[15/28] Compiling HttpSwift Server+Methods.swift
[16/28] Compiling HttpSwift ServerError.swift
/Users/admin/builder/spi-builder-workspace/Sources/ServerError.swift:17:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
15 |
16 | extension Socket {
17 |     open func readLine() throws -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 |         var line: String = "" //yep it is StringBuilder
19 |         let CR = Byte(13), LF = Byte(10)
[17/28] Compiling HttpSwift StaticServer.swift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:34:27: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
32 |         }
33 |
34 |         public static let ok = Status(200, "OK")
   |                           |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
[18/28] Compiling HttpSwift Response.swift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:34:27: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
32 |         }
33 |
34 |         public static let ok = Status(200, "OK")
   |                           |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:35:27: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
33 |
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
   |                           |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:36:27: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
   |                           |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         public static let notFound = Status(404, "Not Found")
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:37:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
   |                           |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:54:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open class func ok(_ body: String, headers: HeaderDictionary = [:]) -> Self {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
55 |         return self.init(.ok, body: body.bytes, headers: headers)
56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:58:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
56 |     }
57 |
58 |     open class func json(_ object: Any, status: Response.Status = .ok, options: JSONSerialization.WritingOptions = .prettyPrinted) -> Response {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
59 |         var response = Response.ok("Could not serialize into json")
60 |         if JSONSerialization.isValidJSONObject(object) {
[19/28] Compiling HttpSwift ResponseWriter.swift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:34:27: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
32 |         }
33 |
34 |         public static let ok = Status(200, "OK")
   |                           |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:35:27: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
33 |
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
   |                           |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:36:27: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
   |                           |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         public static let notFound = Status(404, "Not Found")
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:37:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
   |                           |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:54:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open class func ok(_ body: String, headers: HeaderDictionary = [:]) -> Self {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
55 |         return self.init(.ok, body: body.bytes, headers: headers)
56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:58:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
56 |     }
57 |
58 |     open class func json(_ object: Any, status: Response.Status = .ok, options: JSONSerialization.WritingOptions = .prettyPrinted) -> Response {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
59 |         var response = Response.ok("Could not serialize into json")
60 |         if JSONSerialization.isValidJSONObject(object) {
[20/28] Compiling HttpSwift Server.swift
/Users/admin/builder/spi-builder-workspace/Sources/Server.swift:43:32: warning: capture of 'self' with non-sendable type 'Server?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 13 |
 14 | public typealias MiddlewareHandler = (_ request: Request, _ closure: RouteHandler) throws -> Response
 15 | open class Server {
    |            `- note: class 'Server' does not conform to the 'Sendable' protocol
 16 |     public let queue = DispatchQueue(label: "com.biatoms.server-swift." + UUID().uuidString)
 17 |     open var router = Router()
    :
 41 |         socket = try Socket.tcpListening(port: port, address: address)
 42 |         queue.async { [weak self] in
 43 |             guard let `self` = self else { return }
    |                                `- warning: capture of 'self' with non-sendable type 'Server?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
 44 |             while let client = try? self.socket.accept() {
 45 |                 self.handleConnection(client)
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:35:27: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
33 |
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
   |                           |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
[21/28] Compiling HttpSwift Helper.swift
[22/28] Compiling HttpSwift Regex.swift
[23/28] Compiling HttpSwift Url.swift
[24/28] Compiling HttpSwift ErrorHandler.swift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:37:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
   |                           |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     }
39 |
[25/28] Compiling HttpSwift File.swift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:37:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
   |                           |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     }
39 |
[26/28] Emitting module HttpSwift
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:34:27: warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
32 |         }
33 |
34 |         public static let ok = Status(200, "OK")
   |                           |- warning: static property 'ok' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'ok' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:35:27: warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
33 |
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
   |                           |- warning: static property 'internalServerError' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'internalServerError' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:36:27: warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
34 |         public static let ok = Status(200, "OK")
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
   |                           |- warning: static property 'httpVersionNotSupported' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'httpVersionNotSupported' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |         public static let notFound = Status(404, "Not Found")
38 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:37:27: warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
20 |     }
21 |
22 |    public struct Status {
   |                  `- note: consider making struct 'Status' conform to the 'Sendable' protocol
23 |         let code: Int
24 |         let reason	: String
   :
35 |         public static let internalServerError = Status(500, "Internal Server Error")
36 |         public static let httpVersionNotSupported = Status(505, "HTTP Version Not Supported")
37 |         public static let notFound = Status(404, "Not Found")
   |                           |- warning: static property 'notFound' is not concurrency-safe because non-'Sendable' type 'Response.Status' may have shared mutable state; this is an error in the Swift 6 language mode
   |                           |- note: annotate 'notFound' with '@MainActor' if property should only be accessed from the main actor
   |                           `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 |     }
39 |
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:54:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
52 |     }
53 |
54 |     open class func ok(_ body: String, headers: HeaderDictionary = [:]) -> Self {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
55 |         return self.init(.ok, body: body.bytes, headers: headers)
56 |     }
/Users/admin/builder/spi-builder-workspace/Sources/Response.swift:58:5: warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
56 |     }
57 |
58 |     open class func json(_ object: Any, status: Response.Status = .ok, options: JSONSerialization.WritingOptions = .prettyPrinted) -> Response {
   |     `- warning: non-'@objc' class method in extensions cannot be overridden; use 'public' instead
59 |         var response = Response.ok("Could not serialize into json")
60 |         if JSONSerialization.isValidJSONObject(object) {
/Users/admin/builder/spi-builder-workspace/Sources/ServerError.swift:17:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
15 |
16 | extension Socket {
17 |     open func readLine() throws -> String {
   |     `- warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
18 |         var line: String = "" //yep it is StringBuilder
19 |         let CR = Byte(13), LF = Byte(10)
[27/28] Compiling HttpSwift Request.swift
[28/28] Compiling HttpSwift RequestParser.swift
Build complete! (15.07s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "socket.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.4.0",
            "upper_bound" : "2.5.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BiAtoms/Socket.swift.git"
    },
    {
      "identity" : "request.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.0",
            "upper_bound" : "2.4.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/BiAtoms/Request.swift.git"
    }
  ],
  "manifest_display_name" : "HttpSwift",
  "name" : "HttpSwift",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HttpSwift",
      "targets" : [
        "HttpSwift"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HttpSwiftTests",
      "module_type" : "SwiftTarget",
      "name" : "HttpSwiftTests",
      "path" : "Tests/HttpSwiftTests",
      "product_dependencies" : [
        "RequestSwift"
      ],
      "sources" : [
        "HttpSwiftTests.swift"
      ],
      "target_dependencies" : [
        "HttpSwift"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HttpSwift",
      "module_type" : "SwiftTarget",
      "name" : "HttpSwift",
      "path" : "Sources",
      "product_dependencies" : [
        "SocketSwift"
      ],
      "product_memberships" : [
        "HttpSwift"
      ],
      "sources" : [
        "ErrorHandler.swift",
        "File.swift",
        "Helper.swift",
        "Regex.swift",
        "Request.swift",
        "RequestParser.swift",
        "Response.swift",
        "ResponseWriter.swift",
        "Route.swift",
        "Router.swift",
        "Server+Methods.swift",
        "Server.swift",
        "ServerError.swift",
        "StaticServer.swift",
        "Url.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Done.