Build Information
Successful build of Toast, reference main (32d03e), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 00:45:38 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jaywcjlove/Toast.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jaywcjlove/Toast
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 32d03e6 doc: update README.md
Cloned https://github.com/jaywcjlove/Toast.git
Revision (git rev-parse @):
32d03e66cc3775db1d49acb9d84b127b87a94f88
SUCCESS checkout https://github.com/jaywcjlove/Toast.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/jaywcjlove/Toast.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] Toast
[30 / 102]
[33 / 102]
[41 / 102]
[43 / 102]
[44 / 102]
[49 / 102]
[51 / 102]
[53 / 102]
[56 / 102]
[61 / 102]
[64 / 102]
[66 / 102]
[67 / 102]
[77 / 102]
[79 / 102]
[80 / 102]
[83 / 102]
[85 / 102]
[93 / 102] Toast
[99 / 102] Toast
Build complete! (11.68 sec)
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:76:17: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m74 |[0;0m let timerDuration = duration ?? configuration.duration
[0;36m75 |[0;0m if timerDuration > 0 {
[0;36m76 |[0;0m Task {
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m77 |[0;0m try await Task.sleep(for: .seconds(timerDuration))
[0;36m78 |[0;0m dismiss(id: toast.id)
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:159:17: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m157 |[0;0m
[0;36m158 |[0;0m // 调用回调
[0;36m159 |[0;0m Task {
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m160 |[0;0m try await Task.sleep(for: .seconds(0.3))
[0;36m161 |[0;0m await MainActor.run {
/Users/admin/builder/spi-builder-workspace/Sources/Toast/ToastManager.swift:175:9: [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m173 |[0;0m
[0;36m174 |[0;0m // 使用 Task 来避免在视图更新期间发布更改
[0;36m175 |[0;0m Task { @MainActor in
[0;36m|[0;0m |- [1;33mwarning: [1;39munstructured throwing task created by 'init(name:priority:operation:)' is not used, which may accidentally ignore errors thrown inside the task[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task\NoUseUnstructuredThrowingTask]8;;\]
[0;36m|[0;0m `- [1;39mnote: [1;39mto silence this warning, handle the error inside the task, or store/discard the task value explicitly[0;0m
[0;36m176 |[0;0m for toast in allToasts {
[0;36m177 |[0;0m withAnimation(.easeInOut(duration: 0.3)) {
[#NoUseUnstructuredThrowingTask]: <https://docs.swift.org/compiler/documentation/diagnostics/no-use-throwing-unstructured-task>
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Toast",
"name" : "Toast",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Toast",
"targets" : [
"Toast"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ToastTests",
"module_type" : "SwiftTarget",
"name" : "ToastTests",
"path" : "Tests/ToastTests",
"sources" : [
"ToastTests.swift"
],
"target_dependencies" : [
"Toast"
],
"type" : "test"
},
{
"c99name" : "Toast",
"module_type" : "SwiftTarget",
"name" : "Toast",
"path" : "Sources/Toast",
"product_memberships" : [
"Toast"
],
"sources" : [
"Toast.swift",
"ToastEnvironment.swift",
"ToastItem.swift",
"ToastManager.swift",
"ToastModels.swift",
"ToastView.swift"
],
"type" : "library"
}
],
"tools_version" : "6.2"
}
Done.