Build Information
Failed to build swift-http-field-types, reference 0.3.5 (bf6bae
), with Swift 5.8 for Linux on 15 Sep 2024 02:27:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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: 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-4606859-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
762bedf4b1b7: Already exists
93b1d2dcab5d: Pulling fs layer
fa74289a8902: Pulling fs layer
fbabf2645bef: Pulling fs layer
b38de3d73135: Pulling fs layer
47aa2894f5d4: Pulling fs layer
47aa2894f5d4: Waiting
b38de3d73135: Waiting
fbabf2645bef: Verifying Checksum
fbabf2645bef: Download complete
b38de3d73135: Verifying Checksum
b38de3d73135: Download complete
47aa2894f5d4: Verifying Checksum
47aa2894f5d4: Download complete
93b1d2dcab5d: Download complete
fa74289a8902: Verifying Checksum
fa74289a8902: Download complete
93b1d2dcab5d: Pull complete
fa74289a8902: Pull complete
fbabf2645bef: Pull complete
b38de3d73135: Pull complete
47aa2894f5d4: Pull complete
Digest: sha256:a5e57d1af25c3272f87123c7a264de6fd88dcc01acef91f1006945662a9fd14a
Status: Downloaded newer image 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.20s)
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.97s)
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 ISOLatin1String.swift
[2/8] Compiling HTTPTypes HTTPFieldName.swift
[3/8] Emitting module HTTPTypes
[4/8] Compiling HTTPTypes HTTPField.swift
[5/8] Compiling HTTPTypes HTTPResponse.swift
[6/8] Compiling HTTPTypes HTTPRequest.swift
[7/8] Compiling HTTPTypes HTTPParsedFields.swift
[8/8] Compiling HTTPTypes HTTPFields.swift
[11/22] 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 }
^
[12/23] Compiling HTTPFieldTypes HTTPFields+CookieFields.swift
[13/23] Compiling HTTPFieldTypes HTTPFields+RangeFields.swift
[14/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
[15/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
[16/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
~^~~~~~~~
[17/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
~^~~~~~~~
[18/23] 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 }
^
[19/23] Compiling HTTPFieldTypes HTTPCookieField.swift
[20/23] Compiling HTTPFieldTypes HTTPSetCookieField.swift
[21/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 }
^
[22/23] Compiling HTTPFieldTypes HTTPRangeField.swift
[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