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

Failed to build swift-http-field-types, reference 0.3.5 (bf6bae), with Swift 6.1 for Linux on 29 Apr 2025 09:27:31 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/edonv/swift-http-field-types.git
Reference: 0.3.5
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/edonv/swift-http-field-types
 * tag               0.3.5      -> FETCH_HEAD
HEAD is now at bf6bae8 Update HTTPCookieField.swift
Cloned https://github.com/edonv/swift-http-field-types.git
Revision (git rev-parse @):
bf6bae82338d1d5023fc1db781f179770ac1dfe0
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/edonv/swift-http-field-types.git at 0.3.5
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/edonv/swift-http-field-types.git
https://github.com/edonv/swift-http-field-types.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "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.git"
    }
  ],
  "manifest_display_name" : "swift-http-field-types",
  "name" : "swift-http-field-types",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "HTTPFieldTypes",
      "targets" : [
        "HTTPFieldTypes"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HTTPFieldTypesTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPFieldTypesTests",
      "path" : "Tests/HTTPFieldTypesTests",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "sources" : [
        "HTTPFieldCookieTests.swift",
        "HTTPRangesTests.swift"
      ],
      "target_dependencies" : [
        "HTTPFieldTypes"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPFieldTypes",
      "module_type" : "SwiftTarget",
      "name" : "HTTPFieldTypes",
      "path" : "Sources/HTTPFieldTypes",
      "product_dependencies" : [
        "HTTPTypes"
      ],
      "product_memberships" : [
        "HTTPFieldTypes"
      ],
      "sources" : [
        "Cookies/Fields/HTTPCookieField.swift",
        "Cookies/Fields/HTTPSetCookieField.swift",
        "Cookies/Helpers/HTTPCookie.swift",
        "Cookies/Helpers/HTTPSetCookie+Attributes.swift",
        "Dates/HTTPDate.swift",
        "HTTPFieldValue.swift",
        "HTTPFields+Extensions/HTTPFields+CookieFields.swift",
        "HTTPFields+Extensions/HTTPFields+RangeFields.swift",
        "Ranges/Fields/HTTPContentRangeField.swift",
        "Ranges/Fields/HTTPRangeField.swift",
        "Ranges/Helpers/HTTPRange+Unit.swift",
        "Ranges/Helpers/HTTPRange.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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 -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 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.git
[1/904] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.38s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (1.30s)
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Emitting module HTTPTypes
[5/12] Compiling HTTPTypes ISOLatin1String.swift
[6/12] Compiling HTTPTypes HTTPResponse.swift
[7/12] Compiling HTTPTypes HTTPParsedFields.swift
[8/12] Compiling HTTPTypes HTTPRequest.swift
[9/12] Compiling HTTPTypes HTTPField.swift
[10/12] Compiling HTTPTypes HTTPFieldName.swift
[11/12] Compiling HTTPTypes NIOLock.swift
[12/12] Compiling HTTPTypes HTTPFields.swift
[14/25] Compiling HTTPFieldTypes HTTPCookie.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[15/25] Compiling HTTPFieldTypes HTTPSetCookie+Attributes.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[16/25] Compiling HTTPFieldTypes HTTPDate.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[17/25] Compiling HTTPFieldTypes HTTPFieldValue.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[18/26] Compiling HTTPFieldTypes HTTPRange+Unit.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/26] Emitting module HTTPFieldTypes
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[20/26] Compiling HTTPFieldTypes HTTPCookieField.swift
[21/26] Compiling HTTPFieldTypes HTTPSetCookieField.swift
[22/26] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[23/26] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[24/26] Compiling HTTPFieldTypes HTTPContentRangeField.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[25/26] Compiling HTTPFieldTypes HTTPRangeField.swift
[26/26] Compiling HTTPFieldTypes HTTPRange.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling HTTPTypes HTTPFieldName.swift
[3/10] Compiling HTTPTypes ISOLatin1String.swift
[4/10] Emitting module HTTPTypes
[5/10] Compiling HTTPTypes HTTPField.swift
[6/10] Compiling HTTPTypes HTTPParsedFields.swift
[7/10] Compiling HTTPTypes HTTPRequest.swift
[8/10] Compiling HTTPTypes NIOLock.swift
[9/10] Compiling HTTPTypes HTTPFields.swift
[10/10] Compiling HTTPTypes HTTPResponse.swift
[12/23] Compiling HTTPFieldTypes HTTPRange+Unit.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[13/24] Compiling HTTPFieldTypes HTTPRangeField.swift
[14/24] Compiling HTTPFieldTypes HTTPContentRangeField.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[15/24] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[16/24] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[17/24] Compiling HTTPFieldTypes HTTPDate.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[18/24] Compiling HTTPFieldTypes HTTPFieldValue.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
[19/24] Compiling HTTPFieldTypes HTTPCookie.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[20/24] Compiling HTTPFieldTypes HTTPSetCookie+Attributes.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/24] Compiling HTTPFieldTypes HTTPCookieField.swift
[22/24] Compiling HTTPFieldTypes HTTPSetCookieField.swift
[23/24] Emitting module HTTPFieldTypes
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
3 |
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:11: error: value of type 'DateFormatter' has no member 'formattingContext'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |           `- error: value of type 'DateFormatter' has no member 'formattingContext'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:30:32: error: cannot infer contextual base in reference to member 'standalone'
28 |         let f = DateFormatter()
29 |
30 |         f.formattingContext = .standalone
   |                                `- error: cannot infer contextual base in reference to member 'standalone'
31 |         f.timeZone = .init(secondsFromGMT: 0)
32 |         f.calendar = .init(identifier: .gregorian)
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
3 |
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
3 |
[24/24] Compiling HTTPFieldTypes HTTPRange.swift
Swift.RawRepresentable.hashValue:2:23: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | protocol RawRepresentable {
2 | @inlinable public var hashValue: Int { get }}
  |                       `- warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
3 |
BUILD FAILURE 6.1 linux