Build Information
Successful build of SwiftToolbox, reference main (48432f), with Swift 6.1 for macOS (SPM) on 11 Jul 2025 17:03:58 UTC.
Swift 6 data race errors: 8
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 InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/adamwulf/SwiftToolbox.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/adamwulf/SwiftToolbox
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 48432fc Merge branch 'fix/filename-safe'
Cloned https://github.com/adamwulf/SwiftToolbox.git
Revision (git rev-parse @):
48432fcd304cd6acc0fc1fe4b497f61a72f80132
SUCCESS checkout https://github.com/adamwulf/SwiftToolbox.git at main
Fetching https://github.com/themomax/swift-docc-plugin
[1/647] Fetching swift-docc-plugin
Fetched https://github.com/themomax/swift-docc-plugin from cache (1.08s)
Fetching https://github.com/apple/swift-docc-symbolkit
[1/3425] Fetching swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.17s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (1.82s)
Creating working copy for https://github.com/themomax/swift-docc-plugin
Working copy of https://github.com/themomax/swift-docc-plugin resolved at add-extended-types-flag (c234e51)
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.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": "swifttoolbox",
"name": "SwiftToolbox",
"url": "https://github.com/adamwulf/SwiftToolbox.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftToolbox",
"dependencies": [
]
}
]
}
Fetching https://github.com/adamwulf/SwiftToolbox.git
[1/1988] Fetching swifttoolbox
Fetched https://github.com/adamwulf/SwiftToolbox.git from cache (1.21s)
Creating working copy for https://github.com/adamwulf/SwiftToolbox.git
Working copy of https://github.com/adamwulf/SwiftToolbox.git resolved at main (48432fc)
warning: '.resolve-product-dependencies': dependency 'swifttoolbox' 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/adamwulf/SwiftToolbox.git
https://github.com/adamwulf/SwiftToolbox.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"branch" : [
"add-extended-types-flag"
]
},
"type" : "sourceControl",
"url" : "https://github.com/themomax/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftToolbox",
"name" : "SwiftToolbox",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftToolbox",
"targets" : [
"SwiftToolbox"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftToolboxTests",
"module_type" : "SwiftTarget",
"name" : "SwiftToolboxTests",
"path" : "Tests/SwiftToolboxTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/4250D4D6-2C1D-4602-A004-64D839E45169.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/6C3CBA59-4B5F-4ADF-BEC7-080210848D1B.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/91959998-92F6-4D5E-B1EB-559175C0649A.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/F23A9777-B637-42E1-89AA-3ABDDD5FF88A.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/example.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FormDataTests.swift",
"SwiftToolboxTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftToolbox"
],
"type" : "test"
},
{
"c99name" : "SwiftToolbox",
"module_type" : "SwiftTarget",
"name" : "SwiftToolbox",
"path" : "Sources/SwiftToolbox",
"product_memberships" : [
"SwiftToolbox"
],
"sources" : [
"Array+Extensions.swift",
"AttributedString+Extensions.swift",
"ByteSize.swift",
"CGAffineTransform+Extensions.swift",
"CGContext+Extensions.swift",
"CGFloat+Extensions.swift",
"CGLine.swift",
"CGPoint+Extensions.swift",
"CGRect+Extensions.swift",
"CGSize+Extensions.swift",
"CGVector+Extensions.swift",
"Clamping.swift",
"Data+Extensions.swift",
"Dictionary+Extensions.swift",
"DynamicProperties.swift",
"FileManager+Extensions.swift",
"FormData.swift",
"NSLayoutConstraint+Extensions.swift",
"NSToolbarItem+Extensions.swift",
"OnFirstAppear.swift",
"PDFDocument+Extensions.swift",
"ProcessInfo.swift",
"PropertyListCompatible.swift",
"Sequence+Extensions.swift",
"Signpost.swift",
"StopWatch.swift",
"StoreKit+Extensions.swift",
"String+Extensions.swift",
"SwiftToolbox.swift",
"TimeInterval+Extensions.swift",
"TimeZone.swift",
"UIBezierPath+Extensions.swift",
"UIColor+Extensions.swift",
"UIFont+Extensions.swift",
"UIImage+Extensions.swift",
"UILabel+Extensions.swift",
"UIPageControl+Extensions.swift",
"UITableView+Extensions.swift",
"UIView+Extensions.swift",
"UUID+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/41] Emitting module SwiftToolbox
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:24:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // swiftlint:disable line_length
24 | public static var logHandler: ((_ level: LogLevel, _ message: String, _ file: String, _ function: String, _ line: Int, _ context: [String: Any]) -> Void)?
| |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static func log(level: LogLevel, message: String, file: String = #file, function: String = #function, line: Int = #line, context: [String: Any]) {
26 | Self.logHandler?(level, message, file, function, line, context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:24:16: warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | static var second: TimeInterval = 1
| |- warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'second' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:25:16: warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
| |- warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minute' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:26:16: warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
| |- warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hour' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:27:16: warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
| |- warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'day' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:28:16: warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
| |- warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'week' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'week' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:29:16: warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
| |- warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'month' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'month' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static var year: TimeInterval = 365 * day
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:30:16: warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
| |- warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'year' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'year' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[6/45] Compiling SwiftToolbox UIColor+Extensions.swift
[7/45] Compiling SwiftToolbox UIFont+Extensions.swift
[8/45] Compiling SwiftToolbox UIImage+Extensions.swift
[9/45] Compiling SwiftToolbox UILabel+Extensions.swift
[10/45] Compiling SwiftToolbox UIPageControl+Extensions.swift
[11/45] Compiling SwiftToolbox UITableView+Extensions.swift
[12/45] Compiling SwiftToolbox UIView+Extensions.swift
[13/45] Compiling SwiftToolbox UUID+Extensions.swift
[14/45] Compiling SwiftToolbox SwiftToolbox.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:24:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // swiftlint:disable line_length
24 | public static var logHandler: ((_ level: LogLevel, _ message: String, _ file: String, _ function: String, _ line: Int, _ context: [String: Any]) -> Void)?
| |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static func log(level: LogLevel, message: String, file: String = #file, function: String = #function, line: Int = #line, context: [String: Any]) {
26 | Self.logHandler?(level, message, file, function, line, context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:24:16: warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | static var second: TimeInterval = 1
| |- warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'second' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:25:16: warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
| |- warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minute' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:26:16: warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
| |- warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hour' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:27:16: warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
| |- warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'day' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:28:16: warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
| |- warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'week' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'week' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:29:16: warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
| |- warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'month' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'month' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static var year: TimeInterval = 365 * day
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:30:16: warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
| |- warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'year' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'year' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[15/45] Compiling SwiftToolbox TimeInterval+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:24:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // swiftlint:disable line_length
24 | public static var logHandler: ((_ level: LogLevel, _ message: String, _ file: String, _ function: String, _ line: Int, _ context: [String: Any]) -> Void)?
| |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static func log(level: LogLevel, message: String, file: String = #file, function: String = #function, line: Int = #line, context: [String: Any]) {
26 | Self.logHandler?(level, message, file, function, line, context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:24:16: warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | static var second: TimeInterval = 1
| |- warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'second' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:25:16: warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
| |- warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minute' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:26:16: warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
| |- warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hour' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:27:16: warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
| |- warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'day' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:28:16: warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
| |- warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'week' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'week' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:29:16: warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
| |- warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'month' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'month' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static var year: TimeInterval = 365 * day
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:30:16: warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
| |- warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'year' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'year' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[16/45] Compiling SwiftToolbox TimeZone.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:24:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // swiftlint:disable line_length
24 | public static var logHandler: ((_ level: LogLevel, _ message: String, _ file: String, _ function: String, _ line: Int, _ context: [String: Any]) -> Void)?
| |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static func log(level: LogLevel, message: String, file: String = #file, function: String = #function, line: Int = #line, context: [String: Any]) {
26 | Self.logHandler?(level, message, file, function, line, context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:24:16: warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | static var second: TimeInterval = 1
| |- warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'second' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:25:16: warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
| |- warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minute' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:26:16: warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
| |- warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hour' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:27:16: warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
| |- warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'day' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:28:16: warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
| |- warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'week' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'week' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:29:16: warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
| |- warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'month' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'month' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static var year: TimeInterval = 365 * day
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:30:16: warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
| |- warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'year' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'year' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[17/45] Compiling SwiftToolbox UIBezierPath+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:24:23: warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 |
23 | // swiftlint:disable line_length
24 | public static var logHandler: ((_ level: LogLevel, _ message: String, _ file: String, _ function: String, _ line: Int, _ context: [String: Any]) -> Void)?
| |- warning: static property 'logHandler' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'logHandler' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'logHandler' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static func log(level: LogLevel, message: String, file: String = #file, function: String = #function, line: Int = #line, context: [String: Any]) {
26 | Self.logHandler?(level, message, file, function, line, context)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:24:16: warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | static var second: TimeInterval = 1
| |- warning: static property 'second' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'second' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'second' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:25:16: warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
23 |
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
| |- warning: static property 'minute' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'minute' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'minute' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:26:16: warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
24 | static var second: TimeInterval = 1
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
| |- warning: static property 'hour' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'hour' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'hour' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:27:16: warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
25 | static var minute: TimeInterval = 60
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
| |- warning: static property 'day' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'day' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'day' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:28:16: warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
26 | static var hour: TimeInterval = 60 * minute
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
| |- warning: static property 'week' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'week' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'week' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:29:16: warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
27 | static var day: TimeInterval = 24 * hour
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
| |- warning: static property 'month' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'month' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'month' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static var year: TimeInterval = 365 * day
31 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/TimeInterval+Extensions.swift:30:16: warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | static var week: TimeInterval = 7 * day
29 | static var month: TimeInterval = 30 * day
30 | static var year: TimeInterval = 365 * day
| |- warning: static property 'year' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'year' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'year' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | }
32 |
[18/45] Compiling SwiftToolbox CGContext+Extensions.swift
[19/45] Compiling SwiftToolbox CGFloat+Extensions.swift
[20/45] Compiling SwiftToolbox CGLine.swift
[21/45] Compiling SwiftToolbox CGPoint+Extensions.swift
[22/45] Compiling SwiftToolbox PDFDocument+Extensions.swift
[23/45] Compiling SwiftToolbox ProcessInfo.swift
[24/45] Compiling SwiftToolbox PropertyListCompatible.swift
[25/45] Compiling SwiftToolbox Sequence+Extensions.swift
[26/45] Compiling SwiftToolbox Signpost.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:60: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:82: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:103:42: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
101 | "status": "finished",
102 | "duration": duration
103 | ].merging(idContext).merging(context ?? [:]).merging(eventDurations.values.isEmpty ? [:] : ["event": eventDurations.values]))
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:91: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:115: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:120:36: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
118 | let idContext: [String: Any]
119 | if #available(macOS 10.14, *) {
120 | idContext = ["id": id.rawValue]
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
121 | } else {
122 | idContext = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:24: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
128 | message: "signpost",
129 | file: file,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:132:65: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
130 | function: function,
131 | line: line,
132 | context: signpostCtx.merging(idContext).merging(context ?? [:])
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
133 | )
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:33: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
128 | message: "signpost",
129 | file: file,
[27/45] Compiling SwiftToolbox StopWatch.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:60: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:82: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:103:42: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
101 | "status": "finished",
102 | "duration": duration
103 | ].merging(idContext).merging(context ?? [:]).merging(eventDurations.values.isEmpty ? [:] : ["event": eventDurations.values]))
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:91: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:115: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:120:36: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
118 | let idContext: [String: Any]
119 | if #available(macOS 10.14, *) {
120 | idContext = ["id": id.rawValue]
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
121 | } else {
122 | idContext = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:24: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
128 | message: "signpost",
129 | file: file,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:132:65: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
130 | function: function,
131 | line: line,
132 | context: signpostCtx.merging(idContext).merging(context ?? [:])
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
133 | )
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:33: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
128 | message: "signpost",
129 | file: file,
[28/45] Compiling SwiftToolbox StoreKit+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:60: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:82: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:103:42: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
101 | "status": "finished",
102 | "duration": duration
103 | ].merging(idContext).merging(context ?? [:]).merging(eventDurations.values.isEmpty ? [:] : ["event": eventDurations.values]))
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:91: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:115: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:120:36: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
118 | let idContext: [String: Any]
119 | if #available(macOS 10.14, *) {
120 | idContext = ["id": id.rawValue]
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
121 | } else {
122 | idContext = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:24: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
128 | message: "signpost",
129 | file: file,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:132:65: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
130 | function: function,
131 | line: line,
132 | context: signpostCtx.merging(idContext).merging(context ?? [:])
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
133 | )
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:33: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
128 | message: "signpost",
129 | file: file,
[29/45] Compiling SwiftToolbox String+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:60: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:82: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:103:42: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
101 | "status": "finished",
102 | "duration": duration
103 | ].merging(idContext).merging(context ?? [:]).merging(eventDurations.values.isEmpty ? [:] : ["event": eventDurations.values]))
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
104 | }
105 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:91: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:98:115: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
96 | let duration = stopwatch.stop()
97 | Self.queue.async {
98 | let level: SwiftToolbox.LogLevel = duration >= limit ? max(.warning, level ?? self.level) : (level ?? self.level)
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
99 | SwiftToolbox.log(level: level, message: "signpost", file: file, function: function, line: line, context: [
100 | "name": name,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:120:36: warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
118 | let idContext: [String: Any]
119 | if #available(macOS 10.14, *) {
120 | idContext = ["id": id.rawValue]
| `- warning: capture of 'self' with non-sendable type 'Signpost' in a '@Sendable' closure
121 | } else {
122 | idContext = [:]
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:24: warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: capture of 'level' with non-sendable type 'SwiftToolbox.LogLevel?' in a '@Sendable' closure
128 | message: "signpost",
129 | file: file,
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/SwiftToolbox.swift:11:17: note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
9 |
10 | public struct SwiftToolbox {
11 | public enum LogLevel: Int, Comparable {
| `- note: consider making enum 'LogLevel' conform to the 'Sendable' protocol
12 | case verbose
13 | case debug
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:132:65: warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
130 | function: function,
131 | line: line,
132 | context: signpostCtx.merging(idContext).merging(context ?? [:])
| `- warning: capture of 'context' with non-sendable type '[String : Any]?' in a '@Sendable' closure
133 | )
134 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/Signpost.swift:127:33: warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
35 | /// A struct that wraps the `Signpostable` protocol and provides a fallback for
36 | /// platforms that don't support `OSSignpost`.
37 | public struct Signpost: Signpostable {
| `- note: consider making struct 'Signpost' conform to the 'Sendable' protocol
38 | private static let queue = DispatchQueue(
39 | label: "com.musesoftware.signpostQueue",
:
125 | let signpostCtx: [String: Any] = ["name": name, "event": event, "status": "running", "duration": duration].merging(idContext)
126 | SwiftToolbox.log(
127 | level: level ?? self.level,
| `- warning: implicit capture of 'self' requires that 'Signpost' conforms to 'Sendable'; this is an error in the Swift 6 language mode
128 | message: "signpost",
129 | file: file,
[30/45] Compiling SwiftToolbox Data+Extensions.swift
[31/45] Compiling SwiftToolbox Dictionary+Extensions.swift
[32/45] Compiling SwiftToolbox DynamicProperties.swift
[33/45] Compiling SwiftToolbox FileManager+Extensions.swift
[34/45] Compiling SwiftToolbox Array+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:21:46: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
19 | mutating func setLineHeightMultiple(_ lineHeightMultiple: CGFloat) {
20 | var container = AttributeContainer()
21 | let para: NSMutableParagraphStyle = (self.paragraphStyle?.mutableCopy() as? NSMutableParagraphStyle) ?? NSMutableParagraphStyle()
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
22 | para.lineHeightMultiple = lineHeightMultiple
23 | #if canImport(UIKit)
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:26:9: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
24 | container[AttributeScopes.UIKitAttributes.ParagraphStyleAttribute.self] = para
25 | #elseif canImport(AppKit)
26 | container[AttributeScopes.AppKitAttributes.ParagraphStyleAttribute.self] = para
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
27 | #endif
28 | self.mergeAttributes(container, mergePolicy: .keepNew) }
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
[35/45] Compiling SwiftToolbox AttributedString+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:21:46: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
19 | mutating func setLineHeightMultiple(_ lineHeightMultiple: CGFloat) {
20 | var container = AttributeContainer()
21 | let para: NSMutableParagraphStyle = (self.paragraphStyle?.mutableCopy() as? NSMutableParagraphStyle) ?? NSMutableParagraphStyle()
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
22 | para.lineHeightMultiple = lineHeightMultiple
23 | #if canImport(UIKit)
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:26:9: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
24 | container[AttributeScopes.UIKitAttributes.ParagraphStyleAttribute.self] = para
25 | #elseif canImport(AppKit)
26 | container[AttributeScopes.AppKitAttributes.ParagraphStyleAttribute.self] = para
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
27 | #endif
28 | self.mergeAttributes(container, mergePolicy: .keepNew) }
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
[36/45] Compiling SwiftToolbox ByteSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:21:46: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
19 | mutating func setLineHeightMultiple(_ lineHeightMultiple: CGFloat) {
20 | var container = AttributeContainer()
21 | let para: NSMutableParagraphStyle = (self.paragraphStyle?.mutableCopy() as? NSMutableParagraphStyle) ?? NSMutableParagraphStyle()
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
22 | para.lineHeightMultiple = lineHeightMultiple
23 | #if canImport(UIKit)
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:26:9: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
24 | container[AttributeScopes.UIKitAttributes.ParagraphStyleAttribute.self] = para
25 | #elseif canImport(AppKit)
26 | container[AttributeScopes.AppKitAttributes.ParagraphStyleAttribute.self] = para
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
27 | #endif
28 | self.mergeAttributes(container, mergePolicy: .keepNew) }
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
[37/45] Compiling SwiftToolbox CGAffineTransform+Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:21:46: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
19 | mutating func setLineHeightMultiple(_ lineHeightMultiple: CGFloat) {
20 | var container = AttributeContainer()
21 | let para: NSMutableParagraphStyle = (self.paragraphStyle?.mutableCopy() as? NSMutableParagraphStyle) ?? NSMutableParagraphStyle()
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
22 | para.lineHeightMultiple = lineHeightMultiple
23 | #if canImport(UIKit)
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
/Users/admin/builder/spi-builder-workspace/Sources/SwiftToolbox/AttributedString+Extensions.swift:26:9: warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
24 | container[AttributeScopes.UIKitAttributes.ParagraphStyleAttribute.self] = para
25 | #elseif canImport(AppKit)
26 | container[AttributeScopes.AppKitAttributes.ParagraphStyleAttribute.self] = para
| `- warning: conformance of 'NSParagraphStyle' to 'Sendable' is unavailable
27 | #endif
28 | self.mergeAttributes(container, mergePolicy: .keepNew) }
:1:1: note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
1 | @_nonSendable(_assumed)
| `- note: conformance of 'NSParagraphStyle' to 'Sendable' has been explicitly marked unavailable here
[38/45] Compiling SwiftToolbox CGRect+Extensions.swift
[39/45] Compiling SwiftToolbox CGSize+Extensions.swift
[40/45] Compiling SwiftToolbox CGVector+Extensions.swift
[41/45] Compiling SwiftToolbox Clamping.swift
[42/45] Compiling SwiftToolbox FormData.swift
[43/45] Compiling SwiftToolbox NSLayoutConstraint+Extensions.swift
[44/45] Compiling SwiftToolbox NSToolbarItem+Extensions.swift
[45/45] Compiling SwiftToolbox OnFirstAppear.swift
Build complete! (17.58s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"branch" : [
"add-extended-types-flag"
]
},
"type" : "sourceControl",
"url" : "https://github.com/themomax/swift-docc-plugin"
}
],
"manifest_display_name" : "SwiftToolbox",
"name" : "SwiftToolbox",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "SwiftToolbox",
"targets" : [
"SwiftToolbox"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftToolboxTests",
"module_type" : "SwiftTarget",
"name" : "SwiftToolboxTests",
"path" : "Tests/SwiftToolboxTests",
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/4250D4D6-2C1D-4602-A004-64D839E45169.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/6C3CBA59-4B5F-4ADF-BEC7-080210848D1B.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/91959998-92F6-4D5E-B1EB-559175C0649A.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/F23A9777-B637-42E1-89AA-3ABDDD5FF88A.request_data",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/SwiftToolboxTests/Resources/example.png",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"FormDataTests.swift",
"SwiftToolboxTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"SwiftToolbox"
],
"type" : "test"
},
{
"c99name" : "SwiftToolbox",
"module_type" : "SwiftTarget",
"name" : "SwiftToolbox",
"path" : "Sources/SwiftToolbox",
"product_memberships" : [
"SwiftToolbox"
],
"sources" : [
"Array+Extensions.swift",
"AttributedString+Extensions.swift",
"ByteSize.swift",
"CGAffineTransform+Extensions.swift",
"CGContext+Extensions.swift",
"CGFloat+Extensions.swift",
"CGLine.swift",
"CGPoint+Extensions.swift",
"CGRect+Extensions.swift",
"CGSize+Extensions.swift",
"CGVector+Extensions.swift",
"Clamping.swift",
"Data+Extensions.swift",
"Dictionary+Extensions.swift",
"DynamicProperties.swift",
"FileManager+Extensions.swift",
"FormData.swift",
"NSLayoutConstraint+Extensions.swift",
"NSToolbarItem+Extensions.swift",
"OnFirstAppear.swift",
"PDFDocument+Extensions.swift",
"ProcessInfo.swift",
"PropertyListCompatible.swift",
"Sequence+Extensions.swift",
"Signpost.swift",
"StopWatch.swift",
"StoreKit+Extensions.swift",
"String+Extensions.swift",
"SwiftToolbox.swift",
"TimeInterval+Extensions.swift",
"TimeZone.swift",
"UIBezierPath+Extensions.swift",
"UIColor+Extensions.swift",
"UIFont+Extensions.swift",
"UIImage+Extensions.swift",
"UILabel+Extensions.swift",
"UIPageControl+Extensions.swift",
"UITableView+Extensions.swift",
"UIView+Extensions.swift",
"UUID+Extensions.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.