The Swift Package Index logo.Swift Package Index

Build Information

Successful build of NWHTTPProtocol, reference develop (0a96cb), with Swift 6.3 for macOS (SPM) on 13 Apr 2026 04:07:10 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "nwhttpprotocol",
      "name": "NWHTTPProtocol",
      "url": "https://github.com/helje5/NWHTTPProtocol.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/NWHTTPProtocol",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/helje5/NWHTTPProtocol.git
[1/62] Fetching nwhttpprotocol
Fetched https://github.com/helje5/NWHTTPProtocol.git from cache (0.67s)
Creating working copy for https://github.com/helje5/NWHTTPProtocol.git
Working copy of https://github.com/helje5/NWHTTPProtocol.git resolved at develop (0a96cb9)
warning: '.resolve-product-dependencies': dependency 'nwhttpprotocol' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/helje5/NWHTTPProtocol.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/9] Write sources
[1/9] Write samplehttpd-entitlement.plist
[3/9] Write sources
[4/9] Write swift-version--6988338F2F200930.txt
[5/9] Compiling CHTTPParser http_parser.c
[7/13] Compiling NWHTTPProtocol HTTPMessage.swift
[8/13] Compiling NWHTTPProtocol HTTPContext.swift
[9/13] Emitting module NWHTTPProtocol
[10/13] Compiling NWHTTPProtocol HTTPProtocol.swift
[11/20] Compiling NWHTTPServer IncomingMessage.swift
[12/20] Compiling NWHTTPServer StringEncodingError.swift
/Users/admin/builder/spi-builder-workspace/Sources/NWHTTPServer/StringEncodingError.swift:9:32: warning: cannot use struct 'Encoding' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; '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' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; '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)
[13/20] Compiling NWHTTPServer ServerResponse.swift
[14/20] Compiling NWHTTPServer HTTPStatus.swift
[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' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; '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' in a property declaration marked public or in a '@frozen' or '@usableFromInline' context; '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 HTTPMethod.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! (5.36s)
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.