Build Information
Successful build of swift-http-types-htmx, reference 0.3.0 (b0a00a
), with Swift 6.0 for Linux on 1 Dec 2024 19:29:47 UTC.
Swift 6 data race errors: 10
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alephao/swift-http-types-htmx.git
Reference: 0.3.0
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/alephao/swift-http-types-htmx
* tag 0.3.0 -> FETCH_HEAD
HEAD is now at b0a00af feat: use structs instead of enums for value types
Cloned https://github.com/alephao/swift-http-types-htmx.git
Revision (git rev-parse @):
b0a00af44ab8e4de741092258702f670fec0d477
SUCCESS checkout https://github.com/alephao/swift-http-types-htmx.git at 0.3.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/alephao/swift-http-types-htmx.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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 -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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
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/671] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.22s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.3.1 (2.54s)
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.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling HTTPTypes HTTPParsedFields.swift
[5/12] Compiling HTTPTypes HTTPRequest.swift
[6/12] Compiling HTTPTypes HTTPResponse.swift
[7/12] Compiling HTTPTypes ISOLatin1String.swift
[8/12] Compiling HTTPTypes NIOLock.swift
[9/12] Compiling HTTPTypes HTTPFieldName.swift
[10/12] Emitting module HTTPTypes
[11/12] Compiling HTTPTypes HTTPField.swift
[12/12] Compiling HTTPTypes HTTPFields.swift
[14/20] Compiling HTTPTypesHtmx HxReplaceUrl.swift
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxReplaceUrl.swift:12:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxReplaceUrl' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Possible values for the HX-Replace-URL header
2 | public struct HxReplaceUrl: Equatable, CustomStringConvertible {
| `- note: consider making struct 'HxReplaceUrl' conform to the 'Sendable' protocol
3 | public let description: String
4 |
:
10 | extension HxReplaceUrl {
11 | /// false, prevents the browser’s current URL from being updated.
12 | public static let `false` = HxReplaceUrl("false")
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxReplaceUrl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A URL to replace the current URL in the location bar. This may be relative or absolute, as per [`history.replaceState()`](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState), but must have the same origin as the current URL.
[15/20] Compiling HTTPTypesHtmx HxTriggerHeader.swift
[16/20] Compiling HTTPTypesHtmx HxPushUrl.swift
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxPushUrl.swift:12:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxPushUrl' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Possible values for the HX-Push-URL header
2 | public struct HxPushUrl: Equatable, CustomStringConvertible {
| `- note: consider making struct 'HxPushUrl' conform to the 'Sendable' protocol
3 | public let description: String
4 |
:
10 | extension HxPushUrl {
11 | /// prevents the browser’s history from being updated.
12 | public static let `false` = HxPushUrl("false")
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxPushUrl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A URL to be pushed into the location bar. This may be relative or absolute, as per [`history.pushState()`](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState).
[17/20] Compiling HTTPTypesHtmx HxSwap.swift
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:18:21: warning: static property 'innerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
16 | extension HxSwap {
17 | /// Replace the inner html of the target element
18 | public static let innerHTML = HxSwap("innerHTML")
| |- warning: static property 'innerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'innerHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the entire target element with the response
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:21:21: warning: static property 'outerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
19 |
20 | /// Replace the entire target element with the response
21 | public static let outerHTML = HxSwap("outerHTML")
| |- warning: static property 'outerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outerHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Insert the response before the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:24:21: warning: static property 'beforebegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
22 |
23 | /// Insert the response before the target element
24 | public static let beforebegin = HxSwap("beforebegin")
| |- warning: static property 'beforebegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beforebegin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Insert the response before the first child of the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:27:21: warning: static property 'afterbegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
25 |
26 | /// Insert the response before the first child of the target element
27 | public static let afterbegin = HxSwap("afterbegin")
| |- warning: static property 'afterbegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterbegin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Insert the response after the last child of the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:30:21: warning: static property 'beforeend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
28 |
29 | /// Insert the response after the last child of the target element
30 | public static let beforeend = HxSwap("beforeend")
| |- warning: static property 'beforeend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beforeend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Insert the response after the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:33:21: warning: static property 'afterend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
31 |
32 | /// Insert the response after the target element
33 | public static let afterend = HxSwap("afterend")
| |- warning: static property 'afterend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Deletes the target element regardless of the response
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:36:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
34 |
35 | /// Deletes the target element regardless of the response
36 | public static let delete = HxSwap("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Does not append content from response (out of band items will still be processed).
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:39:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
37 |
38 | /// Does not append content from response (out of band items will still be processed).
39 | public static let none = HxSwap("none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
[18/20] Emitting module HTTPTypesHtmx
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxPushUrl.swift:12:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxPushUrl' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Possible values for the HX-Push-URL header
2 | public struct HxPushUrl: Equatable, CustomStringConvertible {
| `- note: consider making struct 'HxPushUrl' conform to the 'Sendable' protocol
3 | public let description: String
4 |
:
10 | extension HxPushUrl {
11 | /// prevents the browser’s history from being updated.
12 | public static let `false` = HxPushUrl("false")
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxPushUrl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A URL to be pushed into the location bar. This may be relative or absolute, as per [`history.pushState()`](https://developer.mozilla.org/en-US/docs/Web/API/History/pushState).
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxReplaceUrl.swift:12:21: warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxReplaceUrl' may have shared mutable state; this is an error in the Swift 6 language mode
1 | /// Possible values for the HX-Replace-URL header
2 | public struct HxReplaceUrl: Equatable, CustomStringConvertible {
| `- note: consider making struct 'HxReplaceUrl' conform to the 'Sendable' protocol
3 | public let description: String
4 |
:
10 | extension HxReplaceUrl {
11 | /// false, prevents the browser’s current URL from being updated.
12 | public static let `false` = HxReplaceUrl("false")
| |- warning: static property 'false' is not concurrency-safe because non-'Sendable' type 'HxReplaceUrl' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'false' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | /// A URL to replace the current URL in the location bar. This may be relative or absolute, as per [`history.replaceState()`](https://developer.mozilla.org/en-US/docs/Web/API/History/replaceState), but must have the same origin as the current URL.
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:18:21: warning: static property 'innerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
16 | extension HxSwap {
17 | /// Replace the inner html of the target element
18 | public static let innerHTML = HxSwap("innerHTML")
| |- warning: static property 'innerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'innerHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | /// Replace the entire target element with the response
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:21:21: warning: static property 'outerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
19 |
20 | /// Replace the entire target element with the response
21 | public static let outerHTML = HxSwap("outerHTML")
| |- warning: static property 'outerHTML' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'outerHTML' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | /// Insert the response before the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:24:21: warning: static property 'beforebegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
22 |
23 | /// Insert the response before the target element
24 | public static let beforebegin = HxSwap("beforebegin")
| |- warning: static property 'beforebegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beforebegin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 |
26 | /// Insert the response before the first child of the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:27:21: warning: static property 'afterbegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
25 |
26 | /// Insert the response before the first child of the target element
27 | public static let afterbegin = HxSwap("afterbegin")
| |- warning: static property 'afterbegin' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterbegin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 |
29 | /// Insert the response after the last child of the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:30:21: warning: static property 'beforeend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
28 |
29 | /// Insert the response after the last child of the target element
30 | public static let beforeend = HxSwap("beforeend")
| |- warning: static property 'beforeend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'beforeend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | /// Insert the response after the target element
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:33:21: warning: static property 'afterend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
31 |
32 | /// Insert the response after the target element
33 | public static let afterend = HxSwap("afterend")
| |- warning: static property 'afterend' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'afterend' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 |
35 | /// Deletes the target element regardless of the response
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:36:21: warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
34 |
35 | /// Deletes the target element regardless of the response
36 | public static let delete = HxSwap("delete")
| |- warning: static property 'delete' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'delete' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /// Does not append content from response (out of band items will still be processed).
/host/spi-builder-workspace/Sources/HTTPTypesHtmx/Values/HxSwap.swift:39:21: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
2 | ///
3 | /// [https://htmx.org/attributes/hx-swap/](https://htmx.org/attributes/hx-swap/)
4 | public struct HxSwap: Equatable, CustomStringConvertible, ExpressibleByStringLiteral {
| `- note: consider making struct 'HxSwap' conform to the 'Sendable' protocol
5 | public let description: String
6 |
:
37 |
38 | /// Does not append content from response (out of band items will still be processed).
39 | public static let none = HxSwap("none")
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'HxSwap' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | }
41 |
[19/20] Compiling HTTPTypesHtmx HtmxRequestHeaders.swift
[20/20] Compiling HTTPTypesHtmx HtmxResponseHeaders.swift
Build complete! (14.94s)
Build complete.
{
"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-types-htmx",
"name" : "swift-http-types-htmx",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "HTTPTypesHtmx",
"targets" : [
"HTTPTypesHtmx"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "HTTPTypesHtmxTests",
"module_type" : "SwiftTarget",
"name" : "HTTPTypesHtmxTests",
"path" : "Tests/HTTPTypesHtmxTests",
"product_dependencies" : [
"HTTPTypes"
],
"sources" : [
"HtmxRequestHeadersTests.swift",
"HtmxResponseHeadersTests.swift",
"HxTriggerHeaderTests.swift"
],
"target_dependencies" : [
"HTTPTypesHtmx"
],
"type" : "test"
},
{
"c99name" : "HTTPTypesHtmx",
"module_type" : "SwiftTarget",
"name" : "HTTPTypesHtmx",
"path" : "Sources/HTTPTypesHtmx",
"product_dependencies" : [
"HTTPTypes"
],
"product_memberships" : [
"HTTPTypesHtmx"
],
"sources" : [
"HtmxRequestHeaders.swift",
"HtmxResponseHeaders.swift",
"HxTriggerHeader.swift",
"Values/HxPushUrl.swift",
"Values/HxReplaceUrl.swift",
"Values/HxSwap.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Done.