Build Information
Successful build of ApprovalTests.Swift, reference v2.0.0 (f00352
), with Swift 6.1 for macOS (SPM) on 25 Apr 2025 18:35:49 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/approvals/ApprovalTests.Swift.git
Reference: v2.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/approvals/ApprovalTests.Swift
* tag v2.0.0 -> FETCH_HEAD
HEAD is now at f003524 Merge branch 'master' of https://github.com/approvals/ApprovalTests.Swift
Cloned https://github.com/approvals/ApprovalTests.Swift.git
Revision (git rev-parse @):
f003524be9f86aef6d00c6ee2eb53ed682514348
SUCCESS checkout https://github.com/approvals/ApprovalTests.Swift.git at v2.0.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": "approvaltests.swift",
"name": "ApprovalTests.Swift",
"url": "https://github.com/approvals/ApprovalTests.Swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ApprovalTests.Swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/approvals/ApprovalTests.Swift.git
[1/5151] Fetching approvaltests.swift
Fetched https://github.com/approvals/ApprovalTests.Swift.git from cache (1.02s)
Creating working copy for https://github.com/approvals/ApprovalTests.Swift.git
Working copy of https://github.com/approvals/ApprovalTests.Swift.git resolved at v2.0.0 (f003524)
warning: '.resolve-product-dependencies': dependency 'approvaltests.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/approvals/ApprovalTests.Swift.git
https://github.com/approvals/ApprovalTests.Swift.git
{
"dependencies" : [
],
"manifest_display_name" : "ApprovalTests.Swift",
"name" : "ApprovalTests.Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ApprovalTests.Swift",
"targets" : [
"ApprovalTests.Swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ApprovalTests_Swift",
"module_type" : "SwiftTarget",
"name" : "ApprovalTests.Swift",
"path" : "ApprovalTests.Swift",
"product_memberships" : [
"ApprovalTests.Swift"
],
"sources" : [
"Approvals.swift",
"Approvers/ApprovalApprover.swift",
"Approvers/FileApprover.swift",
"Approvers/TestFailer.swift",
"Combinations/CombinationApprovals.swift",
"Core/ApprovalFailureReporter.swift",
"Core/ApprovalWriter.swift",
"Core/Options.swift",
"Core/Scrubber.swift",
"Core/Verifiable.swift",
"Core/VerifyParameters.swift",
"Namer/ApprovalNamer.swift",
"Namer/Namer.swift",
"Namer/NamerFactory.swift",
"Namer/ParameterizedNamer.swift",
"Reporters/ExecutableReporter.swift",
"Reporters/FirstWorkingReporter.swift",
"Reporters/GenericDiffReporterBase.swift",
"Reporters/ReportByCallingScript.swift",
"Reporters/ReportByOpeningReceivedFile.swift",
"Reporters/ReportContentsWithXCTest.swift",
"Reporters/ReportMoveCommandToClipboard.swift",
"Reporters/ReportMoveCommandToConsole.swift",
"Reporters/ReportWithDiffTool.swift",
"Reporters/ReportWithEverything.swift",
"Reporters/ReporterFactory.swift",
"Reporters/VariousReporters.swift",
"Reporters/iOS/GenericDiffReporterIOS.swift",
"Reporters/macOS/GenericDiffReporter.swift",
"Scrubbers/ScrubDates.swift",
"Scrubbers/ScrubNothing.swift",
"Scrubbers/ScrubWithRegEx.swift",
"Scrubbers/ScrubWithRegExWithReplacementAliasing.swift",
"UIKit/UIKitApprovals.swift",
"Utils/CwlDemangle.swift",
"Utils/ExecutableQuery.swift",
"Utils/HelpMessages.swift",
"Utils/NetUtils.swift",
"Utils/SimpleLogger.swift",
"Utils/StringUtils.swift",
"Utils/SystemUtils.swift",
"Writers/ApprovalTextWriter.swift",
"Writers/UIWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/42] Emitting module ApprovalTests_Swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:66:23: warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
| |- warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizeSugarOnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:67:23: warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
| |- warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayDebuggerGeneratedModule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:68:23: warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
| |- warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qualifyEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:69:23: warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
| |- warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayExtensionContexts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:70:23: warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
| |- warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayUnmangledSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:71:23: warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayModuleNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:72:23: warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
| |- warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayGenericSpecializations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:73:23: warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayProtocolConformances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:74:23: warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
| |- warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayWhereClauses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:75:23: warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
| |- warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayEntityTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:76:23: warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
| |- warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenPartialApply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:77:23: warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
| |- warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenThunk' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:78:23: warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
| |- warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenValueWitness' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:79:23: warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
| |- warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenArchetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:80:23: warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
| |- warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showPrivateDiscriminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
82 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:81:23: warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
| |- warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showFunctionArgumentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:87:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
85 | }
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
89 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:88:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
| |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[4/46] Compiling ApprovalTests_Swift GenericDiffReporterIOS.swift
[5/46] Compiling ApprovalTests_Swift GenericDiffReporter.swift
[6/46] Compiling ApprovalTests_Swift ScrubDates.swift
[7/46] Compiling ApprovalTests_Swift ScrubNothing.swift
[8/46] Compiling ApprovalTests_Swift ReportWithDiffTool.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
[9/46] Compiling ApprovalTests_Swift ReportWithEverything.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
[10/46] Compiling ApprovalTests_Swift ReporterFactory.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
[11/46] Compiling ApprovalTests_Swift VariousReporters.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Reporters/ReporterFactory.swift:2:23: warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | public enum ReporterFactory {
2 | public static var defaultReporter: () -> ApprovalFailureReporter = {
| |- warning: static property 'defaultReporter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultReporter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'defaultReporter' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
3 | ReportWithDiffTool()
4 | }
[12/46] Compiling ApprovalTests_Swift VerifyParameters.swift
[13/46] Compiling ApprovalTests_Swift ApprovalNamer.swift
[14/46] Compiling ApprovalTests_Swift Namer.swift
[15/46] Compiling ApprovalTests_Swift NamerFactory.swift
[16/46] Compiling ApprovalTests_Swift ParameterizedNamer.swift
[17/46] Compiling ApprovalTests_Swift ReportByOpeningReceivedFile.swift
[18/46] Compiling ApprovalTests_Swift ReportContentsWithXCTest.swift
[19/46] Compiling ApprovalTests_Swift ReportMoveCommandToClipboard.swift
[20/46] Compiling ApprovalTests_Swift ReportMoveCommandToConsole.swift
[21/46] Compiling ApprovalTests_Swift ExecutableQuery.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[22/46] Compiling ApprovalTests_Swift HelpMessages.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[23/46] Compiling ApprovalTests_Swift NetUtils.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[24/46] Compiling ApprovalTests_Swift SimpleLogger.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:28:23: warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 |
27 | public enum SimpleLogger {
28 | public static var timestamp = true
| |- warning: static property 'timestamp' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timestamp' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timestamp' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:29:23: warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | public enum SimpleLogger {
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
| |- warning: static property 'printer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'printer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'printer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:30:23: warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | public static var timestamp = true
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
| |- warning: static property 'timer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'timer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'timer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:31:24: warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
29 | public static var printer: (String) -> Void = { print($0, terminator: "") }
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
| |- warning: static property 'indent' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'indent' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'indent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:32:24: warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
30 | public static var timer: () -> Date = { Date() }
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
| |- warning: static property 'hourGlassCount' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassCount' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassCount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:33:24: warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
31 | private static var indent = 0
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
| |- warning: static property 'hourGlassWrap' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hourGlassWrap' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hourGlassWrap' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | private static var lastDate: Date?
35 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/SimpleLogger.swift:34:24: warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
32 | private static var hourGlassCount = 0
33 | private static var hourGlassWrap = 100
34 | private static var lastDate: Date?
| |- warning: static property 'lastDate' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'lastDate' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'lastDate' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 |
36 | public static func getIndentation() -> String {
[25/46] Compiling ApprovalTests_Swift ExecutableReporter.swift
[26/46] Compiling ApprovalTests_Swift FirstWorkingReporter.swift
[27/46] Compiling ApprovalTests_Swift GenericDiffReporterBase.swift
[28/46] Compiling ApprovalTests_Swift ReportByCallingScript.swift
[29/46] Compiling ApprovalTests_Swift Approvals.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
[30/46] Compiling ApprovalTests_Swift ApprovalApprover.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
[31/46] Compiling ApprovalTests_Swift FileApprover.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
[32/46] Compiling ApprovalTests_Swift TestFailer.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
[33/46] Compiling ApprovalTests_Swift CombinationApprovals.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Approvers/FileApprover.swift:4:24: warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | public class FileApprover: ApprovalApprover {
4 | private static var failer: Failer = XCTFailer()
| |- warning: static property 'failer' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failer' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'failer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 |
6 | public static func registerFailer(_ failer: Failer) {
[34/46] Compiling ApprovalTests_Swift ApprovalFailureReporter.swift
[35/46] Compiling ApprovalTests_Swift ApprovalWriter.swift
[36/46] Compiling ApprovalTests_Swift Options.swift
[37/46] Compiling ApprovalTests_Swift Scrubber.swift
[38/46] Compiling ApprovalTests_Swift Verifiable.swift
[39/46] Compiling ApprovalTests_Swift ScrubWithRegEx.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:66:23: warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
| |- warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizeSugarOnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:67:23: warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
| |- warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayDebuggerGeneratedModule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:68:23: warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
| |- warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qualifyEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:69:23: warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
| |- warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayExtensionContexts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:70:23: warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
| |- warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayUnmangledSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:71:23: warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayModuleNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:72:23: warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
| |- warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayGenericSpecializations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:73:23: warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayProtocolConformances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:74:23: warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
| |- warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayWhereClauses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:75:23: warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
| |- warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayEntityTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:76:23: warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
| |- warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenPartialApply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:77:23: warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
| |- warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenThunk' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:78:23: warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
| |- warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenValueWitness' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:79:23: warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
| |- warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenArchetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:80:23: warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
| |- warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showPrivateDiscriminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
82 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:81:23: warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
| |- warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showFunctionArgumentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:87:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
85 | }
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
89 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:88:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
| |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[40/46] Compiling ApprovalTests_Swift ScrubWithRegExWithReplacementAliasing.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:66:23: warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
| |- warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizeSugarOnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:67:23: warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
| |- warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayDebuggerGeneratedModule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:68:23: warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
| |- warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qualifyEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:69:23: warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
| |- warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayExtensionContexts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:70:23: warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
| |- warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayUnmangledSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:71:23: warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayModuleNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:72:23: warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
| |- warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayGenericSpecializations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:73:23: warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayProtocolConformances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:74:23: warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
| |- warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayWhereClauses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:75:23: warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
| |- warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayEntityTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:76:23: warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
| |- warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenPartialApply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:77:23: warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
| |- warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenThunk' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:78:23: warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
| |- warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenValueWitness' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:79:23: warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
| |- warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenArchetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:80:23: warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
| |- warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showPrivateDiscriminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
82 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:81:23: warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
| |- warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showFunctionArgumentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:87:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
85 | }
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
89 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:88:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
| |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[41/46] Compiling ApprovalTests_Swift UIKitApprovals.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:66:23: warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
| |- warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizeSugarOnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:67:23: warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
| |- warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayDebuggerGeneratedModule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:68:23: warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
| |- warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qualifyEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:69:23: warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
| |- warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayExtensionContexts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:70:23: warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
| |- warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayUnmangledSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:71:23: warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayModuleNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:72:23: warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
| |- warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayGenericSpecializations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:73:23: warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayProtocolConformances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:74:23: warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
| |- warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayWhereClauses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:75:23: warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
| |- warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayEntityTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:76:23: warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
| |- warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenPartialApply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:77:23: warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
| |- warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenThunk' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:78:23: warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
| |- warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenValueWitness' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:79:23: warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
| |- warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenArchetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:80:23: warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
| |- warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showPrivateDiscriminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
82 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:81:23: warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
| |- warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showFunctionArgumentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:87:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
85 | }
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
89 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:88:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
| |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[42/46] Compiling ApprovalTests_Swift CwlDemangle.swift
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:66:23: warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
| |- warning: static property 'synthesizeSugarOnTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'synthesizeSugarOnTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:67:23: warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
| |- warning: static property 'displayDebuggerGeneratedModule' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayDebuggerGeneratedModule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:68:23: warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
66 | public static let synthesizeSugarOnTypes = SymbolPrintOptions(rawValue: 1 << 0)
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
| |- warning: static property 'qualifyEntities' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'qualifyEntities' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:69:23: warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
67 | public static let displayDebuggerGeneratedModule = SymbolPrintOptions(rawValue: 1 << 1)
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
| |- warning: static property 'displayExtensionContexts' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayExtensionContexts' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:70:23: warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
68 | public static let qualifyEntities = SymbolPrintOptions(rawValue: 1 << 2)
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
| |- warning: static property 'displayUnmangledSuffix' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayUnmangledSuffix' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:71:23: warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
69 | public static let displayExtensionContexts = SymbolPrintOptions(rawValue: 1 << 3)
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayModuleNames' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayModuleNames' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:72:23: warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
70 | public static let displayUnmangledSuffix = SymbolPrintOptions(rawValue: 1 << 4)
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
| |- warning: static property 'displayGenericSpecializations' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayGenericSpecializations' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:73:23: warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
71 | public static let displayModuleNames = SymbolPrintOptions(rawValue: 1 << 5)
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
| |- warning: static property 'displayProtocolConformances' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayProtocolConformances' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:74:23: warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
72 | public static let displayGenericSpecializations = SymbolPrintOptions(rawValue: 1 << 6)
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
| |- warning: static property 'displayWhereClauses' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayWhereClauses' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:75:23: warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
73 | public static let displayProtocolConformances = SymbolPrintOptions(rawValue: 1 << 5)
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
| |- warning: static property 'displayEntityTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'displayEntityTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:76:23: warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
74 | public static let displayWhereClauses = SymbolPrintOptions(rawValue: 1 << 8)
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
| |- warning: static property 'shortenPartialApply' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenPartialApply' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:77:23: warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
75 | public static let displayEntityTypes = SymbolPrintOptions(rawValue: 1 << 9)
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
| |- warning: static property 'shortenThunk' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenThunk' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:78:23: warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
76 | public static let shortenPartialApply = SymbolPrintOptions(rawValue: 1 << 10)
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
| |- warning: static property 'shortenValueWitness' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenValueWitness' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:79:23: warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
77 | public static let shortenThunk = SymbolPrintOptions(rawValue: 1 << 11)
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
| |- warning: static property 'shortenArchetype' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shortenArchetype' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:80:23: warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
78 | public static let shortenValueWitness = SymbolPrintOptions(rawValue: 1 << 12)
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
| |- warning: static property 'showPrivateDiscriminators' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showPrivateDiscriminators' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
82 |
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:81:23: warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
79 | public static let shortenArchetype = SymbolPrintOptions(rawValue: 1 << 13)
80 | public static let showPrivateDiscriminators = SymbolPrintOptions(rawValue: 1 << 14)
81 | public static let showFunctionArgumentTypes = SymbolPrintOptions(rawValue: 1 << 15)
| |- warning: static property 'showFunctionArgumentTypes' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'showFunctionArgumentTypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |
83 | public init(rawValue: Int) {
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:87:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
85 | }
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
89 | }
/Users/admin/builder/spi-builder-workspace/ApprovalTests.Swift/Utils/CwlDemangle.swift:88:23: warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
61 |
62 | /// These options mimic those used in the Swift project. Check that project for details.
63 | public struct SymbolPrintOptions: OptionSet {
| `- note: consider making struct 'SymbolPrintOptions' conform to the 'Sendable' protocol
64 | public let rawValue: Int
65 |
:
86 |
87 | public static let `default`: SymbolPrintOptions = [.displayDebuggerGeneratedModule, .qualifyEntities, .displayExtensionContexts, .displayUnmangledSuffix, .displayModuleNames, .displayGenericSpecializations, .displayProtocolConformances, .displayWhereClauses, .displayEntityTypes, .showPrivateDiscriminators, .showFunctionArgumentTypes]
88 | public static let simplified: SymbolPrintOptions = [.synthesizeSugarOnTypes, .qualifyEntities, .shortenPartialApply, .shortenThunk, .shortenValueWitness, .shortenArchetype]
| |- warning: static property 'simplified' is not concurrency-safe because non-'Sendable' type 'SymbolPrintOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'simplified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
89 | }
90 |
[43/46] Compiling ApprovalTests_Swift StringUtils.swift
[44/46] Compiling ApprovalTests_Swift SystemUtils.swift
[45/46] Compiling ApprovalTests_Swift ApprovalTextWriter.swift
[46/46] Compiling ApprovalTests_Swift UIWriter.swift
Build complete! (11.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "ApprovalTests.Swift",
"name" : "ApprovalTests.Swift",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "ApprovalTests.Swift",
"targets" : [
"ApprovalTests.Swift"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ApprovalTests_Swift",
"module_type" : "SwiftTarget",
"name" : "ApprovalTests.Swift",
"path" : "ApprovalTests.Swift",
"product_memberships" : [
"ApprovalTests.Swift"
],
"sources" : [
"Approvals.swift",
"Approvers/ApprovalApprover.swift",
"Approvers/FileApprover.swift",
"Approvers/TestFailer.swift",
"Combinations/CombinationApprovals.swift",
"Core/ApprovalFailureReporter.swift",
"Core/ApprovalWriter.swift",
"Core/Options.swift",
"Core/Scrubber.swift",
"Core/Verifiable.swift",
"Core/VerifyParameters.swift",
"Namer/ApprovalNamer.swift",
"Namer/Namer.swift",
"Namer/NamerFactory.swift",
"Namer/ParameterizedNamer.swift",
"Reporters/ExecutableReporter.swift",
"Reporters/FirstWorkingReporter.swift",
"Reporters/GenericDiffReporterBase.swift",
"Reporters/ReportByCallingScript.swift",
"Reporters/ReportByOpeningReceivedFile.swift",
"Reporters/ReportContentsWithXCTest.swift",
"Reporters/ReportMoveCommandToClipboard.swift",
"Reporters/ReportMoveCommandToConsole.swift",
"Reporters/ReportWithDiffTool.swift",
"Reporters/ReportWithEverything.swift",
"Reporters/ReporterFactory.swift",
"Reporters/VariousReporters.swift",
"Reporters/iOS/GenericDiffReporterIOS.swift",
"Reporters/macOS/GenericDiffReporter.swift",
"Scrubbers/ScrubDates.swift",
"Scrubbers/ScrubNothing.swift",
"Scrubbers/ScrubWithRegEx.swift",
"Scrubbers/ScrubWithRegExWithReplacementAliasing.swift",
"UIKit/UIKitApprovals.swift",
"Utils/CwlDemangle.swift",
"Utils/ExecutableQuery.swift",
"Utils/HelpMessages.swift",
"Utils/NetUtils.swift",
"Utils/SimpleLogger.swift",
"Utils/StringUtils.swift",
"Utils/SystemUtils.swift",
"Writers/ApprovalTextWriter.swift",
"Writers/UIWriter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Done.