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 main (bf6bae), with Swift 5.8 for Linux on 15 Sep 2024 02:34:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build --triple x86_64-unknown-linux-gnu 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: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.8
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-5.8-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-5.8-latest: Pulling from finestructure/spi-images
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-5.8-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 (0.19s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.3.0 (0.89s)
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...
[1/8] Compiling HTTPTypes HTTPResponse.swift
[2/8] Compiling HTTPTypes ISOLatin1String.swift
[3/8] Compiling HTTPTypes HTTPParsedFields.swift
[4/8] Compiling HTTPTypes HTTPRequest.swift
[5/8] Compiling HTTPTypes HTTPFieldName.swift
[6/8] Compiling HTTPTypes HTTPField.swift
[7/8] Emitting module HTTPTypes
[8/8] Compiling HTTPTypes HTTPFields.swift
[11/22] 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
    @inlinable public var hashValue: Int { get }
                          ^
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:40:16: warning: stored property 'date' of 'Sendable'-conforming struct 'HTTPDate' has non-sendable type 'Date'
    public let date: Date
               ^
Foundation.Date:1:15: note: struct 'Date' does not conform to the 'Sendable' protocol
public struct Date : ReferenceConvertible, Comparable, Equatable {
              ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPContentRangeField.Size' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange.Unit' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPRange' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
[12/23] Compiling HTTPFieldTypes HTTPRangeField.swift
[13/23] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[14/23] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[15/23] Compiling HTTPFieldTypes HTTPDate.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:40:16: warning: stored property 'date' of 'Sendable'-conforming struct 'HTTPDate' has non-sendable type 'Date'
    public let date: Date
               ^
Foundation.Date:1:15: note: struct 'Date' does not conform to the 'Sendable' protocol
public struct Date : ReferenceConvertible, Comparable, Equatable {
              ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[16/23] Compiling HTTPFieldTypes HTTPFieldValue.swift
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:40:16: warning: stored property 'date' of 'Sendable'-conforming struct 'HTTPDate' has non-sendable type 'Date'
    public let date: Date
               ^
Foundation.Date:1:15: note: struct 'Date' does not conform to the 'Sendable' protocol
public struct Date : ReferenceConvertible, Comparable, Equatable {
              ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Dates/HTTPDate.swift:8:1: remark: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
import Foundation
^
@preconcurrency
[17/23] 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
    @inlinable public var hashValue: Int { get }
                          ^
[18/23] 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
    @inlinable public var hashValue: Int { get }
                          ^
[19/23] Compiling HTTPFieldTypes HTTPCookieField.swift
[20/23] Compiling HTTPFieldTypes HTTPSetCookieField.swift
[21/23] 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
    @inlinable public var hashValue: Int { get }
                          ^
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:157:24: error: reference to member 'domain' cannot be resolved without a contextual type
        case .domain: .domain
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:158:25: error: reference to member 'expires' cannot be resolved without a contextual type
        case .expires: .expires
                       ~^~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:159:26: error: reference to member 'httpOnly' cannot be resolved without a contextual type
        case .httpOnly: .httpOnly
                        ~^~~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:160:24: error: reference to member 'maxAge' cannot be resolved without a contextual type
        case .maxAge: .maxAge
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:161:29: error: reference to member 'partitioned' cannot be resolved without a contextual type
        case .partitioned: .partitioned
                           ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:162:22: error: reference to member 'path' cannot be resolved without a contextual type
        case .path: .path
                    ~^~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:163:24: error: reference to member 'secure' cannot be resolved without a contextual type
        case .secure: .secure
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:164:26: error: reference to member 'sameSite' cannot be resolved without a contextual type
        case .sameSite: .sameSite
                        ~^~~~~~~~
[22/23] 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
    @inlinable public var hashValue: Int { get }
                          ^
Swift.RawRepresentable:2:27: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type 'HTTPSetCookieField.Attribute' to 'Hashable' by implementing 'hash(into:)' instead
    @inlinable public var hashValue: Int { get }
                          ^
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:157:24: error: reference to member 'domain' cannot be resolved without a contextual type
        case .domain: .domain
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:158:25: error: reference to member 'expires' cannot be resolved without a contextual type
        case .expires: .expires
                       ~^~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:159:26: error: reference to member 'httpOnly' cannot be resolved without a contextual type
        case .httpOnly: .httpOnly
                        ~^~~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:160:24: error: reference to member 'maxAge' cannot be resolved without a contextual type
        case .maxAge: .maxAge
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:161:29: error: reference to member 'partitioned' cannot be resolved without a contextual type
        case .partitioned: .partitioned
                           ~^~~~~~~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:162:22: error: reference to member 'path' cannot be resolved without a contextual type
        case .path: .path
                    ~^~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:163:24: error: reference to member 'secure' cannot be resolved without a contextual type
        case .secure: .secure
                      ~^~~~~~
/host/spi-builder-workspace/Sources/HTTPFieldTypes/Cookies/Helpers/HTTPSetCookie+Attributes.swift:164:26: error: reference to member 'sameSite' cannot be resolved without a contextual type
        case .sameSite: .sameSite
                        ~^~~~~~~~
[23/23] 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
    @inlinable public var hashValue: Int { get }
                          ^
BUILD FAILURE 5.8 linux