Build Information
Successful build of Pushover with Swift 6.0 for Linux.
Swift 6 data race errors: 3
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/kiliankoe/pushover.git
Reference: master
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/kiliankoe/pushover
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d7d35e7 Merge pull request #2 from sgade/master
Cloned https://github.com/kiliankoe/pushover.git
Revision (git rev-parse @):
d7d35e7da9ff978188667434da7530dc02ded635
SUCCESS checkout https://github.com/kiliankoe/pushover.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/kiliankoe/pushover.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" 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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/10] Compiling Pushover Endpoint.swift
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:12:16: warning: static property 'apiBaseV1' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Endpoint {
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
| `- warning: static property 'apiBaseV1' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | enum Endpoint {
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
| |- note: annotate 'apiBaseV1' 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 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:14:16: warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
| |- warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'messages' 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
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
16 | }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:15:16: warning: static property 'validate' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
| |- warning: static property 'validate' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validate' 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
16 | }
17 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[4/11] Emitting module Pushover
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:12:16: warning: static property 'apiBaseV1' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | enum Endpoint {
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
| `- warning: static property 'apiBaseV1' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | enum Endpoint {
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
| |- note: annotate 'apiBaseV1' 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 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:14:16: warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
| |- warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'messages' 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
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
16 | }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:15:16: warning: static property 'validate' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
| |- warning: static property 'validate' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'validate' 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
16 | }
17 |
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
[5/11] Compiling Pushover Pushover.swift
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:14:16: warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
| `- warning: static property 'messages' is not concurrency-safe because non-'Sendable' type 'URL' may have shared mutable state; this is an error in the Swift 6 language mode
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
16 | }
Foundation.URL:1:15: note: struct 'URL' does not conform to the 'Sendable' protocol
1 | public struct URL : ReferenceConvertible, Equatable {
| `- note: struct 'URL' does not conform to the 'Sendable' protocol
2 | public typealias ReferenceType = NSURL
3 | public init?(string: String)
/host/spi-builder-workspace/Sources/Pushover/Endpoint.swift:9:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
7 | //
8 |
9 | import Foundation
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
10 |
11 | enum Endpoint {
12 | static let apiBaseV1 = URL(string: "https://api.pushover.net/1/")!
13 |
14 | static let messages = URL(string: "messages.json", relativeTo: Endpoint.apiBaseV1)!
| |- note: annotate 'messages' 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
15 | static let validate = URL(string: "validate.json", relativeTo: Endpoint.apiBaseV1)!
16 | }
[6/11] Compiling Pushover Response.swift
[7/11] Compiling Pushover Priority.swift
[8/11] Compiling Pushover Error.swift
[9/11] Compiling Pushover API.swift
[10/11] Compiling Pushover Notification.swift
[11/11] Compiling Pushover Sound.swift
Build complete! (11.18s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Pushover",
"name" : "Pushover",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Pushover",
"targets" : [
"Pushover"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PushoverTests",
"module_type" : "SwiftTarget",
"name" : "PushoverTests",
"path" : "Tests/PushoverTests",
"sources" : [
"NotificationTests.swift",
"PushoverTests.swift"
],
"target_dependencies" : [
"Pushover"
],
"type" : "test"
},
{
"c99name" : "Pushover",
"module_type" : "SwiftTarget",
"name" : "Pushover",
"path" : "Sources/Pushover",
"product_memberships" : [
"Pushover"
],
"sources" : [
"API.swift",
"Endpoint.swift",
"Error.swift",
"Notification.swift",
"Priority.swift",
"Pushover.swift",
"Response.swift",
"Sound.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.