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.1 for macOS (SPM) on 24 Apr 2025 16:25:52 UTC.

Swift 6 data race errors: 4

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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/424] Fetching socket.swift
[425/723] Fetching socket.swift, request.swift
Fetched https://github.com/BiAtoms/Request.swift.git from cache (0.66s)
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.66s)
Computing version for https://github.com/BiAtoms/Request.swift.git
Computed https://github.com/BiAtoms/Request.swift.git at 2.3.0 (1.26s)
Computing version for https://github.com/BiAtoms/Socket.swift.git
Computed https://github.com/BiAtoms/Socket.swift.git at 2.4.0 (0.56s)
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
[4/395] Fetching http.swift
Fetched https://github.com/BiAtoms/Http.swift.git from cache (0.69s)
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/Request.swift.git from cache (0.44s)
Fetched https://github.com/BiAtoms/Socket.swift.git from cache (0.44s)
Computing version for https://github.com/BiAtoms/Request.swift.git
Computed https://github.com/BiAtoms/Request.swift.git at 2.3.0 (0.49s)
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/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/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/Socket.swift.git
Working copy of https://github.com/BiAtoms/Socket.swift.git resolved at 2.4.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.1
Building package at path:  $PWD
https://github.com/BiAtoms/Http.swift.git
https://github.com/BiAtoms/Http.swift.git
{
  "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"
}
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/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/12] Compiling SocketSwift Option.swift
[5/12] Compiling SocketSwift Socket.swift
[6/12] Compiling SocketSwift TLS.swift
[7/12] Compiling SocketSwift Type.swift
[8/12] Compiling SocketSwift Protocol.swift
[9/12] Compiling SocketSwift Error.swift
[10/12] Compiling SocketSwift OS.swift
[11/12] Emitting module SocketSwift
[12/12] Compiling SocketSwift Family.swift
[13/27] Compiling HttpSwift StaticServer.swift
[14/27] Compiling HttpSwift Route.swift
[15/27] Compiling HttpSwift Router.swift
[16/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: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'httpVersionNotSupported' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
   |                           `- 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) {
[17/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: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'httpVersionNotSupported' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
   |                           `- 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) {
[18/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)
[19/28] Compiling HttpSwift Server+Methods.swift
[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
 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
 44 |             while let client = try? self.socket.accept() {
 45 |                 self.handleConnection(client)
[21/28] Compiling HttpSwift Helper.swift
[22/28] Compiling HttpSwift Regex.swift
[23/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: add '@MainActor' to make static property 'ok' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'internalServerError' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'httpVersionNotSupported' part of global actor 'MainActor'
   |                           `- 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: add '@MainActor' to make static property 'notFound' part of global actor 'MainActor'
   |                           `- 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)
[24/28] Compiling HttpSwift ErrorHandler.swift
[25/28] Compiling HttpSwift File.swift
[26/28] Compiling HttpSwift Request.swift
[27/28] Compiling HttpSwift RequestParser.swift
[28/28] Compiling HttpSwift Url.swift
Build complete! (7.12s)
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.