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

Failed to build swift-http-field-types, reference 0.3.5 (bf6bae), with Swift 6.2 (beta) for Android on 22 Jun 2025 02:39:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/edonv/swift-http-field-types.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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.42s)
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.16s)
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-8C5A4AE7A8CE2BA.txt
[4/11] Compiling HTTPTypes ISOLatin1String.swift
[5/12] Emitting module HTTPTypes
[6/12] Compiling HTTPTypes HTTPRequest.swift
[7/12] Compiling HTTPTypes HTTPParsedFields.swift
[8/12] Compiling HTTPTypes HTTPResponse.swift
[9/12] Compiling HTTPTypes NIOLock.swift
[10/12] Compiling HTTPTypes HTTPField.swift
[11/12] Compiling HTTPTypes HTTPFieldName.swift
[12/12] Compiling HTTPTypes HTTPFields.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/25] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[15/26] Compiling HTTPFieldTypes HTTPCookieField.swift
[16/26] Compiling HTTPFieldTypes HTTPSetCookieField.swift
[17/26] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[18/26] 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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/26] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[20/26] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[21/26] 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)
[22/26] 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)
[23/26] Compiling HTTPFieldTypes HTTPRangeField.swift
[24/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[25/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/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 [#DeprecatedDeclaration]
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 [#DeprecatedDeclaration]
3 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
BUILD FAILURE 6.2 android