Build Information
Successful build of SwiftParamTest, reference 2.2.1 (f513e1
), with Swift 6.0 for macOS (SPM) on 2 Nov 2024 13:48:39 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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/YusukeHosonuma/SwiftParamTest.git
Reference: 2.2.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/YusukeHosonuma/SwiftParamTest
* tag 2.2.1 -> FETCH_HEAD
HEAD is now at f513e1d Update README.md
Cloned https://github.com/YusukeHosonuma/SwiftParamTest.git
Revision (git rev-parse @):
f513e1dbbdd86e2ca2b672537f4bcb4417f94c27
SUCCESS checkout https://github.com/YusukeHosonuma/SwiftParamTest.git at 2.2.1
Fetching https://github.com/YusukeHosonuma/SHList.git
Fetching https://github.com/YusukeHosonuma/Flatten.git
[1/64] Fetching shlist
[30/206] Fetching shlist, flatten
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.71s)
[45/64] Fetching shlist
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (0.76s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.62s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.60s)
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved 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": "swiftparamtest",
"name": "SwiftParamTest",
"url": "https://github.com/YusukeHosonuma/SwiftParamTest.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftParamTest",
"dependencies": [
{
"identity": "flatten",
"name": "Flatten",
"url": "https://github.com/YusukeHosonuma/Flatten.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Flatten",
"dependencies": [
]
},
{
"identity": "shlist",
"name": "SHList",
"url": "https://github.com/YusukeHosonuma/SHList.git",
"version": "0.1.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SHList",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/YusukeHosonuma/SwiftParamTest.git
[1/812] Fetching swiftparamtest
Fetched https://github.com/YusukeHosonuma/SwiftParamTest.git from cache (1.28s)
Fetching https://github.com/YusukeHosonuma/Flatten.git from cache
Fetching https://github.com/YusukeHosonuma/SHList.git from cache
Fetched https://github.com/YusukeHosonuma/SHList.git from cache (0.52s)
Fetched https://github.com/YusukeHosonuma/Flatten.git from cache (0.52s)
Computing version for https://github.com/YusukeHosonuma/SHList.git
Computed https://github.com/YusukeHosonuma/SHList.git at 0.1.0 (0.02s)
Computing version for https://github.com/YusukeHosonuma/Flatten.git
Computed https://github.com/YusukeHosonuma/Flatten.git at 0.1.0 (0.02s)
Creating working copy for https://github.com/YusukeHosonuma/SHList.git
Working copy of https://github.com/YusukeHosonuma/SHList.git resolved at 0.1.0
Creating working copy for https://github.com/YusukeHosonuma/SwiftParamTest.git
Working copy of https://github.com/YusukeHosonuma/SwiftParamTest.git resolved at 2.2.1 (f513e1d)
Creating working copy for https://github.com/YusukeHosonuma/Flatten.git
Working copy of https://github.com/YusukeHosonuma/Flatten.git resolved at 0.1.0
warning: '.resolve-product-dependencies': dependency 'swiftparamtest' is not used by any target
Found 2 product dependencies
- Flatten
- SHList
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/YusukeHosonuma/SwiftParamTest.git
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
Building for debugging...
[0/4] Write sources
[3/4] Write swift-version--7754E27361AE5C74.txt
[5/8] Emitting module Flatten
[6/8] Compiling Flatten Flatten.swift
[7/8] Emitting module SHList
[8/8] Compiling SHList SHList.swift
[9/18] Compiling SwiftParamTest CustomAssertion.swift
[10/18] Compiling SwiftParamTest Args.swift
[11/19] Compiling SwiftParamTest ParameterizedTest.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:29:23: warning: static property 'defaultOption' is not concurrency-safe because non-'Sendable' type 'ParameterizedTest.Option' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
17 | public var traceTable: TableType
18 | public var saveTableToAttachement: TableType
:
27 | }
28 |
29 | public static let defaultOption = Option(traceTable: .none,
| |- warning: static property 'defaultOption' is not concurrency-safe because non-'Sendable' type 'ParameterizedTest.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOption' 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
30 | saveTableToAttachement: .none)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:32:23: warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | saveTableToAttachement: .none)
31 |
32 | public static var option = defaultOption
| |- warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'option' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'option' 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
33 | }
34 |
[12/19] Compiling SwiftParamTest BasicDSLAssert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:32:23: warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | saveTableToAttachement: .none)
31 |
32 | public static var option = defaultOption
| |- warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'option' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'option' 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
33 | }
34 |
[13/19] Compiling SwiftParamTest Operator.swift
[14/19] Compiling SwiftParamTest ResultBuilderDSLAssert.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:32:23: warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | saveTableToAttachement: .none)
31 |
32 | public static var option = defaultOption
| |- warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'option' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'option' 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
33 | }
34 |
[15/19] Compiling SwiftParamTest ParameterBuilder.swift
[16/19] Compiling SwiftParamTest ParameterizedTestRunner.swift
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:32:23: warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | saveTableToAttachement: .none)
31 |
32 | public static var option = defaultOption
| |- warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'option' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'option' 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
33 | }
34 |
[17/19] Emitting module SwiftParamTest
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:29:23: warning: static property 'defaultOption' is not concurrency-safe because non-'Sendable' type 'ParameterizedTest.Option' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct Option {
| `- note: consider making struct 'Option' conform to the 'Sendable' protocol
17 | public var traceTable: TableType
18 | public var saveTableToAttachement: TableType
:
27 | }
28 |
29 | public static let defaultOption = Option(traceTable: .none,
| |- warning: static property 'defaultOption' is not concurrency-safe because non-'Sendable' type 'ParameterizedTest.Option' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaultOption' 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
30 | saveTableToAttachement: .none)
31 |
/Users/admin/builder/spi-builder-workspace/Sources/Core/ParameterizedTest.swift:32:23: warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | saveTableToAttachement: .none)
31 |
32 | public static var option = defaultOption
| |- warning: static property 'option' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'option' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'option' 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
33 | }
34 |
[18/19] Compiling SwiftParamTest Row.swift
[19/19] Compiling SwiftParamTest MarkdownTable.swift
Build complete! (25.27s)
Build complete.
{
"dependencies" : [
{
"identity" : "flatten",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/YusukeHosonuma/Flatten.git"
},
{
"identity" : "shlist",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/YusukeHosonuma/SHList.git"
}
],
"manifest_display_name" : "SwiftParamTest",
"name" : "SwiftParamTest",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "SwiftParamTest",
"targets" : [
"SwiftParamTest"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftParamTestTests",
"module_type" : "SwiftTarget",
"name" : "SwiftParamTestTests",
"path" : "Tests/SwiftParamTestTests",
"sources" : [
"Core/ParameterizedTestRunnerTests.swift",
"DSL/BasicDSLTests.swift",
"DSL/FunctionBuilderDSLTests.swift",
"DSL/OperatorTests.swift",
"MarkdownTableTests.swift",
"_Asset/Function.swift",
"_Helper/Assertions.swift",
"_Helper/SpyCustomAssertion.swift"
],
"target_dependencies" : [
"SwiftParamTest"
],
"type" : "test"
},
{
"c99name" : "SwiftParamTest",
"module_type" : "SwiftTarget",
"name" : "SwiftParamTest",
"path" : "Sources",
"product_dependencies" : [
"Flatten",
"SHList"
],
"product_memberships" : [
"SwiftParamTest"
],
"sources" : [
"Core/ParameterizedTest.swift",
"Core/ParameterizedTestRunner.swift",
"Core/Row.swift",
"CustomAssertion.swift",
"DSL/Args.swift",
"DSL/Basic/BasicDSLAssert.swift",
"DSL/Operator.swift",
"DSL/ResultBuilder/ParameterBuilder.swift",
"DSL/ResultBuilder/ResultBuilderDSLAssert.swift",
"Util/MarkdownTable.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Done.