Build Information
Successful build of Prch, reference 1.0.0-alpha.2 (b9329b
), with Swift 6.0 for Linux on 2 Nov 2024 12:48:50 UTC.
Swift 6 data race errors: 1
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/brightdigit/Prch.git
Reference: 1.0.0-alpha.2
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/brightdigit/Prch
* tag 1.0.0-alpha.2 -> FETCH_HEAD
HEAD is now at b9329ba Allow Status Code Decoding (#30)
Cloned https://github.com/brightdigit/Prch.git
Revision (git rev-parse @):
b9329bab762886dbc478c9f6850a63bfde7fde93
SUCCESS checkout https://github.com/brightdigit/Prch.git at 1.0.0-alpha.2
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/Prch.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/21] Emitting module PrchModel
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
2 | public static func decode<CoderType>(
3 | _: CoderType.DataType,
:
17 | }
18 |
19 | public static let value = Empty()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' 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
20 |
21 | private init() {}
[5/23] Compiling PrchModel Decoder.swift
[6/23] Compiling PrchModel Dictionary.swift
[7/23] Compiling PrchModel Empty.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
2 | public static func decode<CoderType>(
3 | _: CoderType.DataType,
:
17 | }
18 |
19 | public static let value = Empty()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' 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
20 |
21 | private init() {}
[8/23] Compiling PrchModel Encodable.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
2 | public static func decode<CoderType>(
3 | _: CoderType.DataType,
:
17 | }
18 |
19 | public static let value = Empty()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' 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
20 |
21 | private init() {}
[9/23] Compiling PrchModel CustomServiceDecoding.swift
[10/23] Compiling PrchModel CustomServiceEncoding.swift
[11/23] Compiling PrchModel Decodable.swift
[12/23] Compiling PrchModel JSONDecoder.swift
[13/23] Compiling PrchModel JSONEncoder.swift
[14/23] Compiling PrchModel Content.swift
[15/23] Compiling PrchModel ContentDecodable.swift
[16/23] Compiling PrchModel ContentEncodable.swift
[17/23] Compiling PrchModel EncodableValue.swift
[18/23] Compiling PrchModel Encoder.swift
[19/23] Compiling PrchModel RequestMethod.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
2 | public static func decode<CoderType>(
3 | _: CoderType.DataType,
:
17 | }
18 |
19 | public static let value = Empty()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' 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
20 |
21 | private init() {}
[20/23] Compiling PrchModel ServiceCall.swift
/host/spi-builder-workspace/Sources/PrchModel/Empty.swift:19:21: warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
1 | public struct Empty: ContentDecodable, ContentEncodable, Equatable {
| `- note: consider making struct 'Empty' conform to the 'Sendable' protocol
2 | public static func decode<CoderType>(
3 | _: CoderType.DataType,
:
17 | }
18 |
19 | public static let value = Empty()
| |- warning: static property 'value' is not concurrency-safe because non-'Sendable' type 'Empty' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'value' 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
20 |
21 | private init() {}
[21/23] Compiling PrchModel API.swift
[22/23] Compiling PrchModel Array.swift
[23/23] Compiling PrchModel CoderError.swift
[25/36] Compiling Prch SessionAuthorization.swift
[26/36] Compiling Prch SessionRequest.swift
[27/37] Compiling Prch RequestError.swift
[28/37] Compiling Prch Session.swift
[29/37] Compiling Prch URLRequest.swift
[30/37] Compiling Prch SessionResponse.swift
[31/37] Compiling Prch URLSession.swift
[32/37] Compiling Prch URLSessionResponse.swift
[33/37] Compiling Prch Service.swift
[34/37] Compiling Prch ServiceProtocol.swift
[35/37] Compiling Prch AuthorizationManager.swift
[36/37] Compiling Prch NullAuthorizationManager.swift
[37/37] Emitting module Prch
Build complete! (9.86s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Prch",
"name" : "Prch",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
},
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "Prch",
"targets" : [
"Prch"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "PrchModel",
"targets" : [
"PrchModel"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PrchTests",
"module_type" : "SwiftTarget",
"name" : "PrchTests",
"path" : "Tests/PrchTests",
"sources" : [
"PrchTests.swift",
"ServiceImplTests.swift",
"URLComponents.swift"
],
"target_dependencies" : [
"Prch"
],
"type" : "test"
},
{
"c99name" : "PrchModel",
"module_type" : "SwiftTarget",
"name" : "PrchModel",
"path" : "Sources/PrchModel",
"product_memberships" : [
"Prch",
"PrchModel"
],
"sources" : [
"API.swift",
"Array.swift",
"CoderError.swift",
"Content.swift",
"ContentDecodable.swift",
"ContentEncodable.swift",
"CustomServiceDecoding.swift",
"CustomServiceEncoding.swift",
"Decodable.swift",
"Decoder.swift",
"Dictionary.swift",
"Empty.swift",
"Encodable.swift",
"EncodableValue.swift",
"Encoder.swift",
"JSONDecoder.swift",
"JSONEncoder.swift",
"RequestMethod.swift",
"ServiceCall.swift"
],
"type" : "library"
},
{
"c99name" : "Prch",
"module_type" : "SwiftTarget",
"name" : "Prch",
"path" : "Sources/Prch",
"product_memberships" : [
"Prch"
],
"sources" : [
"AuthorizationManager.swift",
"NullAuthorizationManager.swift",
"Service.swift",
"ServiceProtocol.swift",
"Session/RequestError.swift",
"Session/Session.swift",
"Session/SessionAuthorization.swift",
"Session/SessionRequest.swift",
"Session/SessionResponse.swift",
"Session/URLSession/URLRequest.swift",
"Session/URLSession/URLSession.swift",
"Session/URLSession/URLSessionResponse.swift"
],
"target_dependencies" : [
"PrchModel"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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.