Build Information
Successful build of SimulatorServices, reference 1.0.1 (57099b
), with Swift 6.0 for Linux on 2 Nov 2024 23:04:39 UTC.
Swift 6 data race errors: 2
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/SimulatorServices.git
Reference: 1.0.1
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/SimulatorServices
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 57099b5 Fixing stream issue (#12)
Cloned https://github.com/brightdigit/SimulatorServices.git
Revision (git rev-parse @):
57099b56d3a0f1a33473081f379ac52b58a721c7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/brightdigit/SimulatorServices.git at 1.0.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/brightdigit/SimulatorServices.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/23] Compiling SimulatorServices SimulatorList.swift
[4/23] Compiling SimulatorServices DispatchSemaphore.swift
[5/23] Compiling SimulatorServices Process.swift
[6/25] Compiling SimulatorServices SimCtl.swift
[7/25] Compiling SimulatorServices Subcommand.swift
[8/25] Compiling SimulatorServices List.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | internal protocol _ListDecoder {
| `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
4 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
5 | }
:
18 | }
19 |
20 | private static let decoder: _ListDecoder = {
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
21 | let decoder = JSONDecoder()
22 | decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[9/25] Compiling SimulatorServices Device.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | internal protocol _ListDecoder {
| `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
4 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
5 | }
:
18 | }
19 |
20 | private static let decoder: _ListDecoder = {
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
21 | let decoder = JSONDecoder()
22 | decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[10/25] Compiling SimulatorServices DevicePair.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | internal protocol _ListDecoder {
| `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
4 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
5 | }
:
18 | }
19 |
20 | private static let decoder: _ListDecoder = {
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
21 | let decoder = JSONDecoder()
22 | decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
[11/25] Emitting module SimulatorServices
/host/spi-builder-workspace/Sources/SimulatorServices/Commands/List.swift:20:22: warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | internal protocol _ListDecoder {
| `- note: protocol '_ListDecoder' does not conform to the 'Sendable' protocol
4 | func decode<T>(_ type: T.Type, from data: Data) throws -> T where T: Decodable
5 | }
:
18 | }
19 |
20 | private static let decoder: _ListDecoder = {
| |- warning: static property 'decoder' is not concurrency-safe because non-'Sendable' type 'any _ListDecoder' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'decoder' 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
21 | let decoder = JSONDecoder()
22 | decoder.dateDecodingStrategy = JSONDecoder.DateDecodingStrategy.iso8601
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
7 |
8 | /// The process existed with an error exit code.
9 | case uncaughtSignal(UncaughtSignal)
| `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
4 |
5 | /// Details of a process error when it exists with an error code.
6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
| `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
7 | private static let exitReason = 1
8 |
[12/25] Compiling SimulatorServices ContainerID.swift
[13/25] Compiling SimulatorServices SimulatorID.swift
[14/25] Compiling SimulatorServices GetAppContainer.swift
[15/25] Compiling SimulatorServices ProcessResult.swift
[16/25] Compiling SimulatorServices TerminationResult.swift
[17/25] Compiling SimulatorServices UncaughtSignal.swift
[18/25] Compiling SimulatorServices ProcessCompletionPromise.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
7 |
8 | /// The process existed with an error exit code.
9 | case uncaughtSignal(UncaughtSignal)
| `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
4 |
5 | /// Details of a process error when it exists with an error code.
6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
| `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
7 | private static let exitReason = 1
8 |
[19/25] Compiling SimulatorServices ProcessError.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
7 |
8 | /// The process existed with an error exit code.
9 | case uncaughtSignal(UncaughtSignal)
| `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
4 |
5 | /// Details of a process error when it exists with an error code.
6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
| `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
7 | private static let exitReason = 1
8 |
[20/25] Compiling SimulatorServices ProcessOutputHandleSet.swift
/host/spi-builder-workspace/Sources/SimulatorServices/Process/ProcessError.swift:9:8: warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
7 |
8 | /// The process existed with an error exit code.
9 | case uncaughtSignal(UncaughtSignal)
| `- warning: associated value 'uncaughtSignal' of 'Sendable'-conforming enum 'ProcessError' has non-sendable type 'UncaughtSignal'; this is an error in the Swift 6 language mode
10 |
11 | public var errorDescription: String? {
/host/spi-builder-workspace/Sources/SimulatorServices/Process/UncaughtSignal.swift:6:15: note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
4 |
5 | /// Details of a process error when it exists with an error code.
6 | public struct UncaughtSignal: Equatable, CustomStringConvertible {
| `- note: consider making struct 'UncaughtSignal' conform to the 'Sendable' protocol
7 | private static let exitReason = 1
8 |
[21/25] Compiling SimulatorServices _AsyncableProcess.swift
[22/25] Compiling SimulatorServices _SimCtlProcess.swift
[23/25] Compiling SimulatorServices DeviceType.swift
[24/25] Compiling SimulatorServices Path.swift
[25/25] Compiling SimulatorServices Runtime.swift
Build complete! (13.44s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SimulatorServices",
"name" : "SimulatorServices",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "SimulatorServices",
"targets" : [
"SimulatorServices"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SimulatorServicesTests",
"module_type" : "SwiftTarget",
"name" : "SimulatorServicesTests",
"path" : "Tests/SimulatorServicesTests",
"sources" : [
"ContainerIDTests.swift",
"Extensions/Data.swift",
"Extensions/FileHandle.swift",
"Extensions/String.swift",
"GetAppContainerTests.swift",
"ListTests.swift",
"Mocks/MockAsyncableProcess.swift",
"Mocks/MockDecoder.swift",
"Mocks/MockSimCtlProcess.swift",
"Mocks/MockSubcommand.swift",
"ProcessTests.swift",
"SimCtlTest.swift",
"SimulatorIDTests.swift",
"SubcommandTests.swift"
],
"target_dependencies" : [
"SimulatorServices"
],
"type" : "test"
},
{
"c99name" : "SimulatorServices",
"module_type" : "SwiftTarget",
"name" : "SimulatorServices",
"path" : "Sources/SimulatorServices",
"product_memberships" : [
"SimulatorServices"
],
"sources" : [
"Arguments/ContainerID.swift",
"Arguments/SimulatorID.swift",
"Commands/GetAppContainer.swift",
"Commands/List.swift",
"Components/Device.swift",
"Components/DevicePair.swift",
"Components/DeviceType.swift",
"Components/Path.swift",
"Components/Runtime.swift",
"Components/SimulatorList.swift",
"Process/DispatchSemaphore.swift",
"Process/Process.swift",
"Process/ProcessCompletionPromise.swift",
"Process/ProcessError.swift",
"Process/ProcessOutputHandleSet.swift",
"Process/ProcessResult.swift",
"Process/TerminationResult.swift",
"Process/UncaughtSignal.swift",
"Process/_AsyncableProcess.swift",
"Process/_SimCtlProcess.swift",
"SimCtl.swift",
"Subcommand.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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.