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.0 (beta) for Linux on 15 Sep 2024 02:47:02 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.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.53.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.0
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:9d7dab235f2b0b46edadd73b1fb0c3b5323df02053420324a4a2f8ca89cb54a5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-http-types.git
[1/528] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.21s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.3.0 (2.21s)
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.3.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling HTTPTypes ISOLatin1String.swift
[5/11] Emitting module HTTPTypes
[6/11] Compiling HTTPTypes HTTPResponse.swift
[7/11] Compiling HTTPTypes HTTPParsedFields.swift
[8/11] Compiling HTTPTypes HTTPRequest.swift
[9/11] Compiling HTTPTypes HTTPField.swift
[10/11] Compiling HTTPTypes HTTPFieldName.swift
[11/11] Compiling HTTPTypes HTTPFields.swift
[13/24] Compiling HTTPFieldTypes HTTPRange+Unit.swift
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
[14/25] Compiling HTTPFieldTypes HTTPRangeField.swift
[15/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)
[16/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)
[17/25] Compiling HTTPFieldTypes HTTPCookieField.swift
[18/25] Compiling HTTPFieldTypes HTTPSetCookieField.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/25] Emitting module HTTPFieldTypes
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
/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:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
[20/25] Compiling HTTPFieldTypes HTTPContentRangeField.swift
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
[21/25] Compiling HTTPFieldTypes HTTPCookie.swift
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
[22/25] Compiling HTTPFieldTypes HTTPSetCookie+Attributes.swift
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute.SameSiteValue' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
[23/25] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[24/25] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[25/25] Compiling HTTPFieldTypes HTTPRange.swift
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
1 | extension RawRepresentable where Self : Hashable, Self.RawValue : Hashable {
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 |     @inlinable public func hash(into hasher: inout Hasher)
4 |     @inlinable public func _rawHashValue(seed: Int) -> Int
BUILD FAILURE 6.0 linux