Build Information
Successful build of FileBuilder, reference 0.1.0 (9c23c2
), with Swift 6.0 for Linux on 30 Nov 2024 01:16:14 UTC.
Swift 6 data race errors: 2
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/danielctull/FileBuilder.git
Reference: 0.1.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/danielctull/FileBuilder
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 9c23c20 Remove ability for users to create instances of Empty
Cloned https://github.com/danielctull/FileBuilder.git
Revision (git rev-parse @):
9c23c20766d83711b9afb963617e8119da63ac21
SUCCESS checkout https://github.com/danielctull/FileBuilder.git at 0.1.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/danielctull/FileBuilder.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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/39] Emitting module FileBuilder
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[5/44] Compiling FileBuilder Line.swift
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[6/44] Compiling FileBuilder NeverText.swift
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[7/44] Compiling FileBuilder OptionalText.swift
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[8/44] Compiling FileBuilder String.swift
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[9/44] Compiling FileBuilder Indentation.swift
/host/spi-builder-workspace/Sources/FileBuilder/Text/Content/Line.swift:11:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public struct Line: Equatable {
| `- note: consider making struct 'Line' conform to the 'Sendable' protocol
3 | let rawValue: String
4 |
:
9 |
10 | extension Line {
11 | public static let empty = Line("")
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'Line' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' 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
12 | }
13 |
/host/spi-builder-workspace/Sources/FileBuilder/Text/Modifiers/Indentation.swift:24:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
1 |
2 | public enum Indentation: Equatable {
| `- note: consider making enum 'Indentation' conform to the 'Sendable' protocol
3 | case tab
4 | case spaces(Int)
:
22 |
23 | private enum IndentationKey: EnvironmentKey {
24 | static let defaultValue = Indentation.spaces(4)
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'Indentation' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultValue' 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 |
[10/44] Compiling FileBuilder ArrayText.swift
[11/44] Compiling FileBuilder BuiltinText.swift
[12/44] Compiling FileBuilder EitherText.swift
[13/44] Compiling FileBuilder EmptyText.swift
[14/44] Compiling FileBuilder GroupText.swift
[15/44] Compiling FileBuilder EitherFile.swift
[16/44] Compiling FileBuilder EmptyFile.swift
[17/44] Compiling FileBuilder GroupFile.swift
[18/44] Compiling FileBuilder NeverFile.swift
[19/44] Compiling FileBuilder OptionalFile.swift
[20/44] Compiling FileBuilder Environment.swift
[21/44] Compiling FileBuilder AccumulatedFile.swift
[22/44] Compiling FileBuilder AnyFile.swift
[23/44] Compiling FileBuilder ArrayFile.swift
[24/44] Compiling FileBuilder BuiltinFile.swift
[25/44] Compiling FileBuilder Wrap.swift
[26/44] Compiling FileBuilder Text.swift
[27/44] Compiling FileBuilder TextBuilder.swift
[28/44] Compiling FileBuilder TextEnvironment.swift
[29/44] Compiling FileBuilder TextModifier.swift
[30/44] Compiling FileBuilder DataFile.swift
[31/44] Compiling FileBuilder Directory.swift
[32/44] Compiling FileBuilder StringEncoding.swift
[33/44] Compiling FileBuilder File.swift
[34/44] Compiling FileBuilder FileBuilder.swift
[35/44] Compiling FileBuilder FileEnvironment.swift
[36/44] Compiling FileBuilder FileModifier.swift
[37/44] Compiling FileBuilder TextFile.swift
[38/44] Compiling FileBuilder Accumulated.swift
[39/44] Compiling FileBuilder Either.swift
[40/44] Compiling FileBuilder Empty.swift
[41/44] Compiling FileBuilder Group.swift
[42/44] Compiling FileBuilder Modified.swift
[43/44] Compiling FileBuilder AccumulatedText.swift
[44/44] Compiling FileBuilder AnyText.swift
[46/49] Compiling FileTester AssertFile.swift
[47/49] Compiling FileTester AssertText.swift
[48/49] Compiling FileTester Item.swift
[49/49] Emitting module FileTester
Build complete! (11.80s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FileBuilder",
"name" : "FileBuilder",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
},
{
"name" : "tvos",
"version" : "14.0"
},
{
"name" : "watchos",
"version" : "7.0"
}
],
"products" : [
{
"name" : "FileBuilder",
"targets" : [
"FileBuilder"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "FileTester",
"targets" : [
"FileTester"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileTester",
"module_type" : "SwiftTarget",
"name" : "FileTester",
"path" : "Sources/FileTester",
"product_memberships" : [
"FileTester"
],
"sources" : [
"AssertFile.swift",
"AssertText.swift",
"Item.swift"
],
"target_dependencies" : [
"FileBuilder"
],
"type" : "library"
},
{
"c99name" : "FileBuilderTests",
"module_type" : "SwiftTarget",
"name" : "FileBuilderTests",
"path" : "Tests/FileBuilderTests",
"sources" : [
"DataRandom.swift",
"DirectoryTests.swift",
"EnvironmentTests.swift",
"FileBuilderTests.swift",
"FileModifierTests.swift",
"FileTests.swift",
"IndentationTests.swift",
"StringEncodingTests.swift",
"TextBuilderTests.swift",
"TextModifierTests.swift",
"TextTests.swift",
"WrapTests.swift"
],
"target_dependencies" : [
"FileBuilder",
"FileTester"
],
"type" : "test"
},
{
"c99name" : "FileBuilder",
"module_type" : "SwiftTarget",
"name" : "FileBuilder",
"path" : "Sources/FileBuilder",
"product_memberships" : [
"FileBuilder",
"FileTester"
],
"sources" : [
"Environment.swift",
"File/Content/AccumulatedFile.swift",
"File/Content/AnyFile.swift",
"File/Content/ArrayFile.swift",
"File/Content/BuiltinFile.swift",
"File/Content/EitherFile.swift",
"File/Content/EmptyFile.swift",
"File/Content/GroupFile.swift",
"File/Content/NeverFile.swift",
"File/Content/OptionalFile.swift",
"File/DataFile.swift",
"File/Directory.swift",
"File/Environment/StringEncoding.swift",
"File/File.swift",
"File/FileBuilder.swift",
"File/FileEnvironment.swift",
"File/FileModifier.swift",
"File/TextFile.swift",
"General Content/Accumulated.swift",
"General Content/Either.swift",
"General Content/Empty.swift",
"General Content/Group.swift",
"General Content/Modified.swift",
"Text/Content/AccumulatedText.swift",
"Text/Content/AnyText.swift",
"Text/Content/ArrayText.swift",
"Text/Content/BuiltinText.swift",
"Text/Content/EitherText.swift",
"Text/Content/EmptyText.swift",
"Text/Content/GroupText.swift",
"Text/Content/Line.swift",
"Text/Content/NeverText.swift",
"Text/Content/OptionalText.swift",
"Text/Content/String.swift",
"Text/Modifiers/Indentation.swift",
"Text/Modifiers/Wrap.swift",
"Text/Text.swift",
"Text/TextBuilder.swift",
"Text/TextEnvironment.swift",
"Text/TextModifier.swift"
],
"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.