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 HTTP, reference 0.4.0 (6fcb34), with Swift 6.1 for Linux on 30 Apr 2025 23:54:08 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/grdsdev/swift-http.git
Reference: 0.4.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/grdsdev/swift-http
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 6fcb342 remove IssueReporting dependency
Cloned https://github.com/grdsdev/swift-http.git
Revision (git rev-parse @):
6fcb342f768b67690f3628ea050f76b5f8ac4743
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/grdsdev/swift-http.git at 0.4.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/grdsdev/swift-http.git
https://github.com/grdsdev/swift-http.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    }
  ],
  "manifest_display_name" : "HTTP",
  "name" : "HTTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTP",
      "targets" : [
        "HTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPFoundation",
      "targets" : [
        "HTTPFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPMock",
      "targets" : [
        "HTTPMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "HTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTests",
      "path" : "Tests/HTTPTests",
      "product_dependencies" : [
        "InlineSnapshotTesting"
      ],
      "sources" : [
        "FormDataTests.swift",
        "HTTPClientMockTests.swift",
        "HTTPTests.swift",
        "ResponseTests.swift",
        "URLSearchParamsTests.swift"
      ],
      "target_dependencies" : [
        "HTTP",
        "HTTPFoundation",
        "HTTPMock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPMock",
      "module_type" : "SwiftTarget",
      "name" : "HTTPMock",
      "path" : "Sources/HTTPMock",
      "product_memberships" : [
        "HTTPMock"
      ],
      "sources" : [
        "HTTPClientMock.swift",
        "Match.swift"
      ],
      "target_dependencies" : [
        "HTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPFoundation",
      "module_type" : "SwiftTarget",
      "name" : "HTTPFoundation",
      "path" : "Sources/HTTPFoundation",
      "product_memberships" : [
        "HTTPFoundation"
      ],
      "sources" : [
        "DataLoader.swift",
        "URLSessionHTTPClient.swift"
      ],
      "target_dependencies" : [
        "HTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTP",
      "module_type" : "SwiftTarget",
      "name" : "HTTP",
      "path" : "Sources/HTTP",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "HTTP",
        "HTTPFoundation",
        "HTTPMock"
      ],
      "sources" : [
        "Coding.swift",
        "FormData.swift",
        "HTTPClient.swift",
        "HTTPRequestEncodableBody.swift",
        "Response.swift",
        "URLSearchParams.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-http-types
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/904] Fetching swift-http-types
[905/14063] Fetching swift-http-types, swift-snapshot-testing
Fetched https://github.com/apple/swift-http-types from cache (2.77s)
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (2.86s)
Computing version for https://github.com/apple/swift-http-types
Computed https://github.com/apple/swift-http-types at 1.4.0 (3.86s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.3 (0.93s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4581] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.54s)
[1/70291] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax from cache (7.91s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (9.18s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5388] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.29s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 601.0.1 (5.67s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.96s)
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 601.0.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.2
Creating working copy for https://github.com/apple/swift-http-types
Working copy of https://github.com/apple/swift-http-types resolved at 1.4.0
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/14] Emitting module HTTPTypes
[8/15] Compiling HTTPTypes HTTPField.swift
[9/15] Compiling HTTPTypes HTTPFieldName.swift
[10/15] Compiling HTTPTypes ISOLatin1String.swift
[11/15] Compiling HTTPTypes HTTPRequest.swift
[12/15] Compiling HTTPTypes HTTPResponse.swift
[13/15] Compiling HTTPTypes HTTPParsedFields.swift
[14/15] Compiling HTTPTypes NIOLock.swift
[15/15] Compiling HTTPTypes HTTPFields.swift
[17/22] Compiling HTTPTypesFoundation HTTPTypes+ISOLatin1.swift
[18/22] Compiling HTTPTypesFoundation URLSession+HTTPTypes.swift
[19/22] Compiling HTTPTypesFoundation URLResponse+HTTPTypes.swift
[20/22] Compiling HTTPTypesFoundation URLRequest+HTTPTypes.swift
[21/22] Emitting module HTTPTypesFoundation
[22/22] Compiling HTTPTypesFoundation HTTPRequest+URL.swift
[24/30] Emitting module HTTP
[25/30] Compiling HTTP URLSearchParams.swift
[26/30] Compiling HTTP HTTPRequestEncodableBody.swift
[27/30] Compiling HTTP HTTPClient.swift
[28/30] Compiling HTTP FormData.swift
[29/30] Compiling HTTP Response.swift
[30/30] Compiling HTTP Coding.swift
[32/37] Compiling HTTPMock Match.swift
[33/37] Emitting module HTTPMock
[34/37] Compiling HTTPMock HTTPClientMock.swift
[36/38] Compiling HTTPFoundation URLSessionHTTPClient.swift
[37/38] Emitting module HTTPFoundation
[38/38] Compiling HTTPFoundation DataLoader.swift
/host/spi-builder-workspace/Sources/HTTPFoundation/DataLoader.swift:150:20: warning: TODO: loading whole file into memory is not ideal, find a better solution
148 |       {
149 |         do {
150 |           #warning("TODO: loading whole file into memory is not ideal, find a better solution")
    |                    `- warning: TODO: loading whole file into memory is not ideal, find a better solution
151 |           let body = Response.Body()
152 |           body.yield(try Data(contentsOf: location))
Build complete! (54.14s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-snapshot-testing"
    },
    {
      "identity" : "swift-http-types",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-http-types"
    }
  ],
  "manifest_display_name" : "HTTP",
  "name" : "HTTP",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "HTTP",
      "targets" : [
        "HTTP"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPFoundation",
      "targets" : [
        "HTTPFoundation"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "HTTPMock",
      "targets" : [
        "HTTPMock"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "HTTPTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPTests",
      "path" : "Tests/HTTPTests",
      "product_dependencies" : [
        "InlineSnapshotTesting"
      ],
      "sources" : [
        "FormDataTests.swift",
        "HTTPClientMockTests.swift",
        "HTTPTests.swift",
        "ResponseTests.swift",
        "URLSearchParamsTests.swift"
      ],
      "target_dependencies" : [
        "HTTP",
        "HTTPFoundation",
        "HTTPMock"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPMock",
      "module_type" : "SwiftTarget",
      "name" : "HTTPMock",
      "path" : "Sources/HTTPMock",
      "product_memberships" : [
        "HTTPMock"
      ],
      "sources" : [
        "HTTPClientMock.swift",
        "Match.swift"
      ],
      "target_dependencies" : [
        "HTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTPFoundation",
      "module_type" : "SwiftTarget",
      "name" : "HTTPFoundation",
      "path" : "Sources/HTTPFoundation",
      "product_memberships" : [
        "HTTPFoundation"
      ],
      "sources" : [
        "DataLoader.swift",
        "URLSessionHTTPClient.swift"
      ],
      "target_dependencies" : [
        "HTTP"
      ],
      "type" : "library"
    },
    {
      "c99name" : "HTTP",
      "module_type" : "SwiftTarget",
      "name" : "HTTP",
      "path" : "Sources/HTTP",
      "product_dependencies" : [
        "HTTPTypes",
        "HTTPTypesFoundation"
      ],
      "product_memberships" : [
        "HTTP",
        "HTTPFoundation",
        "HTTPMock"
      ],
      "sources" : [
        "Coding.swift",
        "FormData.swift",
        "HTTPClient.swift",
        "HTTPRequestEncodableBody.swift",
        "Response.swift",
        "URLSearchParams.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.