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 0.1.0 (1f7c0f), with Swift 6.2 (beta) for macOS (SPM) on 19 Jun 2025 13:38:53 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: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/helje5/NWHTTPProtocol
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 1f7c0f7 Merge branch 'develop'
Cloned https://github.com/helje5/NWHTTPProtocol.git
Revision (git rev-parse @):
1f7c0f76667ca68710d4eb9aa83fbf78669c586c
SUCCESS checkout https://github.com/helje5/NWHTTPProtocol.git at 0.1.0
========================================
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
[0/9] Write samplehttpd-entitlement.plist
[0/9] Write sources
[4/9] Write swift-version-1EA4D86E10B52AF.txt
[5/9] Compiling CHTTPParser http_parser.c
[7/13] Compiling NWHTTPProtocol HTTPMessage.swift
[8/13] Compiling NWHTTPProtocol HTTPContext.swift
[9/13] Compiling NWHTTPProtocol HTTPProtocol.swift
[10/13] Emitting module NWHTTPProtocol
[11/20] Compiling NWHTTPServer HTTPStatus.swift
[12/20] Compiling NWHTTPServer IncomingMessage.swift
[13/20] Compiling NWHTTPServer HTTPMethod.swift
[14/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)
[15/20] Compiling NWHTTPServer HTTPServer.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] Emitting module samplehttpd
[19/22] Compiling samplehttpd main.swift
[19/22] Write Objects.LinkFileList
[20/22] Linking samplehttpd
[21/22] Applying samplehttpd
Build complete! (4.58s)
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.