The Swift Package Index logo.Swift Package Index

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

Build Information

Successful build of NWHTTPProtocol, reference develop (0a96cb), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:39:11 UTC.

Swift 6 data race errors: 0

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/helje5/NWHTTPProtocol.git
Reference: develop
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/NWHTTPProtocol
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 0a96cb9 Update README
Cloned https://github.com/helje5/NWHTTPProtocol.git
Revision (git rev-parse @):
0a96cb9575dcdedb4573466c7d1cc39d5b296db1
SUCCESS checkout https://github.com/helje5/NWHTTPProtocol.git at develop
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/helje5/NWHTTPProtocol.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[2/9] Write samplehttpd-entitlement.plist
[2/9] Write sources
[4/9] Write swift-version-1EA4D86E10B52AF.txt
[5/9] Compiling CHTTPParser http_parser.c
[7/13] Emitting module NWHTTPProtocol
[8/13] Compiling NWHTTPProtocol HTTPContext.swift
[9/13] Compiling NWHTTPProtocol HTTPProtocol.swift
[10/13] Compiling NWHTTPProtocol HTTPMessage.swift
[11/20] Compiling NWHTTPServer StringEncodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/StringEncodingError.swift:9:32: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
 7 |
 8 | public struct StringEncodingError : Swift.Error {
 9 |   public let encoding : String.Encoding
   |                                `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
10 | }
11 |
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
[12/20] Compiling NWHTTPServer IncomingMessage.swift
[13/20] Compiling NWHTTPServer HTTPStatus.swift
[14/20] Compiling NWHTTPServer HTTPServer.swift
[15/20] Compiling NWHTTPServer HTTPMethod.swift
[16/20] Emitting module NWHTTPServer
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/StringEncodingError.swift:9:32: warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
 7 |
 8 | public struct StringEncodingError : Swift.Error {
 9 |   public let encoding : String.Encoding
   |                                `- warning: cannot use struct 'Encoding' here; 'Foundation' was not imported by this file
10 | }
11 |
Foundation.String.Encoding:2:15: note: struct declared here
 1 | struct String {
 2 | public struct Encoding : RawRepresentable, Sendable, Equatable {
   |               `- note: struct declared here
 3 |     public var rawValue: UInt
 4 |     public init(rawValue: UInt)
[17/20] Compiling NWHTTPServer ServerResponse.swift
[18/22] Compiling samplehttpd main.swift
[19/22] Emitting module samplehttpd
[19/22] Write Objects.LinkFileList
[20/22] Linking samplehttpd
[21/22] Applying samplehttpd
Build complete! (4.79s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NWHTTPProtocol",
  "name" : "NWHTTPProtocol",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "CHTTPParser",
      "targets" : [
        "CHTTPParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NWHTTPProtocol",
      "targets" : [
        "NWHTTPProtocol"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "NWHTTPServer",
      "targets" : [
        "NWHTTPServer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "samplehttpd",
      "targets" : [
        "samplehttpd"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "samplehttpd",
      "module_type" : "SwiftTarget",
      "name" : "samplehttpd",
      "path" : "Sources/samplehttpd",
      "product_memberships" : [
        "samplehttpd"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "NWHTTPServer"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "NWHTTPServer",
      "module_type" : "SwiftTarget",
      "name" : "NWHTTPServer",
      "path" : "Sources/NWHTTPServer",
      "product_memberships" : [
        "NWHTTPServer",
        "samplehttpd"
      ],
      "sources" : [
        "HTTPMethod.swift",
        "HTTPServer.swift",
        "HTTPStatus.swift",
        "IncomingMessage.swift",
        "ServerResponse.swift",
        "StringEncodingError.swift"
      ],
      "target_dependencies" : [
        "NWHTTPProtocol"
      ],
      "type" : "library"
    },
    {
      "c99name" : "NWHTTPProtocol",
      "module_type" : "SwiftTarget",
      "name" : "NWHTTPProtocol",
      "path" : "Sources/NWHTTPProtocol",
      "product_memberships" : [
        "NWHTTPProtocol",
        "NWHTTPServer",
        "samplehttpd"
      ],
      "sources" : [
        "HTTPContext.swift",
        "HTTPMessage.swift",
        "HTTPProtocol.swift"
      ],
      "target_dependencies" : [
        "CHTTPParser"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CHTTPParser",
      "module_type" : "ClangTarget",
      "name" : "CHTTPParser",
      "path" : "Sources/CHTTPParser",
      "product_memberships" : [
        "CHTTPParser",
        "NWHTTPProtocol",
        "NWHTTPServer",
        "samplehttpd"
      ],
      "sources" : [
        "http_parser.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Done.