Build Information
Successful build of Toasty, reference main (2d81a9
), with Swift 6.1 for macOS (SPM) on 26 Jul 2025 13:09:36 UTC.
Swift 6 data race errors: 2
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/annurdien/Toasty.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/annurdien/Toasty
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2d81a9a docs: update README.md
Cloned https://github.com/annurdien/Toasty.git
Revision (git rev-parse @):
2d81a9acedb900f540ea8c7fa670c57ecb040c81
SUCCESS checkout https://github.com/annurdien/Toasty.git at main
========================================
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": "toasty",
"name": "Toasty",
"url": "https://github.com/annurdien/Toasty.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Toasty",
"dependencies": [
]
}
]
}
Fetching https://github.com/annurdien/Toasty.git
[1/157] Fetching toasty
Fetched https://github.com/annurdien/Toasty.git from cache (1.08s)
Creating working copy for https://github.com/annurdien/Toasty.git
Working copy of https://github.com/annurdien/Toasty.git resolved at main (2d81a9a)
warning: '.resolve-product-dependencies': dependency 'toasty' 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/annurdien/Toasty.git
https://github.com/annurdien/Toasty.git
{
"dependencies" : [
],
"manifest_display_name" : "Toasty",
"name" : "Toasty",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Toasty",
"targets" : [
"Toasty"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastyTests",
"module_type" : "SwiftTarget",
"name" : "ToastyTests",
"path" : "Tests/ToastyTests",
"sources" : [
"ToastyTests.swift"
],
"target_dependencies" : [
"Toasty"
],
"type" : "test"
},
{
"c99name" : "Toasty",
"module_type" : "SwiftTarget",
"name" : "Toasty",
"path" : "Sources/Toasty",
"product_memberships" : [
"Toasty"
],
"sources" : [
"Core/ToastConfiguration.swift",
"Core/ToastData.swift",
"Core/ToastManager.swift",
"Extensions/View+Toastable.swift",
"Modifiers/ToastPresenterModifier.swift",
"Views/ToastView.swift",
"Wrappers/Toast.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling Toasty Toast.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Wrappers/Toast.swift:8:9: warning: main actor-isolated property 'toastManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
3 | @propertyWrapper
4 | public struct Toast: DynamicProperty {
5 | @EnvironmentObject private var toastManager: ToastManager
| `- note: property declared here
6 |
7 | public var wrappedValue: ToastManager {
8 | toastManager
| `- warning: main actor-isolated property 'toastManager' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
9 | }
10 |
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Wrappers/Toast.swift:11:20: error: return from initializer without initializing all stored properties
9 | }
10 |
11 | public init() {}
| |- error: return from initializer without initializing all stored properties
| `- note: main actor-isolated default value of 'self.toastManager' cannot be used in a nonisolated initalizer
12 | }
13 |
[4/10] Emitting module Toasty
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Core/ToastConfiguration.swift:30:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Configuration object for customizing toast appearance and behavior
4 | public struct ToastConfiguration {
| `- note: consider making struct 'ToastConfiguration' conform to the 'Sendable' protocol
5 | /// The corner radius of the toast
6 | public var cornerRadius: CGFloat = 10
:
28 |
29 | /// Default configuration
30 | public static let `default` = ToastConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' 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
31 |
32 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Core/ToastConfiguration.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Configuration object for customizing toast appearance and behavior
4 | public struct ToastConfiguration {
| `- note: consider making struct 'ToastConfiguration' conform to the 'Sendable' protocol
5 | /// The corner radius of the toast
6 | public var cornerRadius: CGFloat = 10
:
35 | /// Environment key for toast configuration
36 | private struct ToastConfigurationKey: EnvironmentKey {
37 | static let defaultValue = ToastConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[5/10] Compiling Toasty ToastView.swift
[6/10] Compiling Toasty View+Toastable.swift
[7/10] Compiling Toasty ToastPresenterModifier.swift
[8/10] Compiling Toasty ToastConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Core/ToastConfiguration.swift:30:23: warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Configuration object for customizing toast appearance and behavior
4 | public struct ToastConfiguration {
| `- note: consider making struct 'ToastConfiguration' conform to the 'Sendable' protocol
5 | /// The corner radius of the toast
6 | public var cornerRadius: CGFloat = 10
:
28 |
29 | /// Default configuration
30 | public static let `default` = ToastConfiguration()
| |- warning: static property 'default' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' 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
31 |
32 | public init() {}
/Users/admin/builder/spi-builder-workspace/Sources/Toasty/Core/ToastConfiguration.swift:37:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Configuration object for customizing toast appearance and behavior
4 | public struct ToastConfiguration {
| `- note: consider making struct 'ToastConfiguration' conform to the 'Sendable' protocol
5 | /// The corner radius of the toast
6 | public var cornerRadius: CGFloat = 10
:
35 | /// Environment key for toast configuration
36 | private struct ToastConfigurationKey: EnvironmentKey {
37 | static let defaultValue = ToastConfiguration.default
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'ToastConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'defaultValue' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | }
39 |
[9/10] Compiling Toasty ToastManager.swift
[10/10] Compiling Toasty ToastData.swift
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/9] Compiling Toasty Toast.swift
[3/9] Compiling Toasty ToastView.swift
[4/9] Compiling Toasty ToastConfiguration.swift
[5/9] Compiling Toasty ToastManager.swift
[6/9] Compiling Toasty View+Toastable.swift
[7/9] Compiling Toasty ToastData.swift
[8/9] Emitting module Toasty
[9/9] Compiling Toasty ToastPresenterModifier.swift
Build complete! (1.64s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Toasty",
"name" : "Toasty",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "15.0"
},
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Toasty",
"targets" : [
"Toasty"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastyTests",
"module_type" : "SwiftTarget",
"name" : "ToastyTests",
"path" : "Tests/ToastyTests",
"sources" : [
"ToastyTests.swift"
],
"target_dependencies" : [
"Toasty"
],
"type" : "test"
},
{
"c99name" : "Toasty",
"module_type" : "SwiftTarget",
"name" : "Toasty",
"path" : "Sources/Toasty",
"product_memberships" : [
"Toasty"
],
"sources" : [
"Core/ToastConfiguration.swift",
"Core/ToastData.swift",
"Core/ToastManager.swift",
"Extensions/View+Toastable.swift",
"Modifiers/ToastPresenterModifier.swift",
"Views/ToastView.swift",
"Wrappers/Toast.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.