Build Information
Successful build of FileBuilder, reference 0.1.0 (9c23c2
), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 01:23:50 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
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 /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "filebuilder",
"name": "FileBuilder",
"url": "https://github.com/danielctull/FileBuilder.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileBuilder",
"dependencies": [
]
}
]
}
Fetching https://github.com/danielctull/FileBuilder.git
[1/2328] Fetching filebuilder
Fetched https://github.com/danielctull/FileBuilder.git from cache (1.06s)
Creating working copy for https://github.com/danielctull/FileBuilder.git
Working copy of https://github.com/danielctull/FileBuilder.git resolved at 0.1.0 (9c23c20)
warning: '.resolve-product-dependencies': dependency 'filebuilder' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/danielctull/FileBuilder.git
{
"dependencies" : [
],
"manifest_display_name" : "FileBuilder",
"name" : "FileBuilder",
"path" : "/Users/admin/builder/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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/40] Emitting module FileBuilder
/Users/admin/builder/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 |
/Users/admin/builder/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 OptionalText.swift
/Users/admin/builder/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 String.swift
/Users/admin/builder/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 Indentation.swift
/Users/admin/builder/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 Wrap.swift
/Users/admin/builder/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 BuiltinFile.swift
[10/44] Compiling FileBuilder EitherFile.swift
[11/44] Compiling FileBuilder EmptyFile.swift
[12/44] Compiling FileBuilder GroupFile.swift
[13/44] Compiling FileBuilder AnyText.swift
[14/44] Compiling FileBuilder ArrayText.swift
[15/44] Compiling FileBuilder BuiltinText.swift
[16/44] Compiling FileBuilder EitherText.swift
[17/44] Compiling FileBuilder EmptyText.swift
/Users/admin/builder/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 |
[18/44] Compiling FileBuilder GroupText.swift
/Users/admin/builder/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 |
[19/44] Compiling FileBuilder Line.swift
/Users/admin/builder/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 |
[20/44] Compiling FileBuilder NeverText.swift
/Users/admin/builder/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 |
[21/44] Compiling FileBuilder Environment.swift
[22/44] Compiling FileBuilder AccumulatedFile.swift
[23/44] Compiling FileBuilder AnyFile.swift
[24/44] Compiling FileBuilder ArrayFile.swift
[25/44] Compiling FileBuilder Text.swift
[26/44] Compiling FileBuilder TextBuilder.swift
[27/44] Compiling FileBuilder TextEnvironment.swift
[28/44] Compiling FileBuilder TextModifier.swift
[29/44] Compiling FileBuilder StringEncoding.swift
[30/44] Compiling FileBuilder File.swift
[31/44] Compiling FileBuilder FileBuilder.swift
[32/44] Compiling FileBuilder FileEnvironment.swift
[33/44] Compiling FileBuilder Empty.swift
[34/44] Compiling FileBuilder Group.swift
[35/44] Compiling FileBuilder Modified.swift
[36/44] Compiling FileBuilder AccumulatedText.swift
[37/44] Compiling FileBuilder FileModifier.swift
[38/44] Compiling FileBuilder TextFile.swift
[39/44] Compiling FileBuilder Accumulated.swift
[40/44] Compiling FileBuilder Either.swift
[41/44] Compiling FileBuilder NeverFile.swift
[42/44] Compiling FileBuilder OptionalFile.swift
[43/44] Compiling FileBuilder DataFile.swift
[44/44] Compiling FileBuilder Directory.swift
[45/48] Compiling FileTester AssertFile.swift
[46/48] Compiling FileTester AssertText.swift
[47/48] Compiling FileTester Item.swift
[48/48] Emitting module FileTester
Build complete! (18.40s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FileBuilder",
"name" : "FileBuilder",
"path" : "/Users/admin/builder/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"
}
Done.