Build Information
Successful build of InSwifted-Addons with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JustinGuedes/inswifted-addons.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JustinGuedes/inswifted-addons
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c1a0fb8 Add support for watchOS
Cloned https://github.com/JustinGuedes/inswifted-addons.git
Revision (git rev-parse @):
c1a0fb820d9c283c57332dd89318ef7dd2347cd8
SUCCESS checkout https://github.com/JustinGuedes/inswifted-addons.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/JustinGuedes/inswifted-addons.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/6] Write sources
[5/6] Write swift-version-6F35C1178C84523A.txt
[7/18] Compiling InSwifted DependencyResolver.swift
[8/18] Compiling InSwifted DependencyContainer.swift
[9/18] Compiling Prelude Sequence.swift
[10/18] Emitting module Prelude
[11/18] Compiling InSwifted InSwifted.swift
[12/18] Compiling InSwifted Injected.swift
[13/18] Compiling InSwifted DependencyRegisterer.swift
[14/18] Emitting module InSwifted
[15/18] Compiling InSwifted InstanceDependencyFactory.swift
[16/18] Compiling InSwifted SingletonDependencyFactory.swift
[17/18] Compiling InSwifted DependencyFactory.swift
[18/18] Compiling InSwifted DependencyError.swift
[19/37] Compiling InConfig Config.swift
[20/37] Compiling InConfig ConfigProvider.swift
[21/37] Emitting module InConfig
[22/37] Compiling InConfig PropertyListConfigProvider.swift
[23/37] Compiling InModules ModuleBuilder.swift
[24/37] Compiling InTabs InTabViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Views/Tab/InTabViewModel.swift:21:14: warning: non-sendable type '[Tab]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
19 | isLoading = true
20 | tabs = await providers
21 | .flatMap(getTab)
| `- warning: non-sendable type '[Tab]' returned by implicitly asynchronous call to nonisolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
22 | .sorted(by: tabOrder)
23 | isLoading = false
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Models/Tab.swift:3:15: note: consider making struct 'Tab' conform to the 'Sendable' protocol
1 | import SwiftUI
2 |
3 | public struct Tab {
| `- note: consider making struct 'Tab' conform to the 'Sendable' protocol
4 | var title: String
5 | var icon: TabImage
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Views/Tab/InTabViewModel.swift:21:22: warning: non-sendable type 'InTabViewModel' exiting main actor-isolated context in call to non-isolated instance method 'getTab(from:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
4 | import Prelude
5 |
6 | class InTabViewModel: ObservableObject {
| `- note: class 'InTabViewModel' does not conform to the 'Sendable' protocol
7 |
8 | @MultiInjected
:
19 | isLoading = true
20 | tabs = await providers
21 | .flatMap(getTab)
| `- warning: non-sendable type 'InTabViewModel' exiting main actor-isolated context in call to non-isolated instance method 'getTab(from:)' cannot cross actor boundary; this is an error in the Swift 6 language mode
22 | .sorted(by: tabOrder)
23 | isLoading = false
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Views/Tab/InTabViewModel.swift:21:14: warning: sending main actor-isolated value of type '(any TabProvider) async -> Tab?' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
19 | isLoading = true
20 | tabs = await providers
21 | .flatMap(getTab)
| `- warning: sending main actor-isolated value of type '(any TabProvider) async -> Tab?' with later accesses to nonisolated context risks causing data races; this is an error in the Swift 6 language mode
22 | .sorted(by: tabOrder)
23 | isLoading = false
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Views/Tab/InTabViewModel.swift:21:14: warning: sending 'self.providers' risks causing data races; this is an error in the Swift 6 language mode
19 | isLoading = true
20 | tabs = await providers
21 | .flatMap(getTab)
| |- warning: sending 'self.providers' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending main actor-isolated 'self.providers' to nonisolated callee risks causing data races between nonisolated and main actor-isolated uses
22 | .sorted(by: tabOrder)
23 | isLoading = false
[25/37] Emitting module InTabs
[26/37] Compiling InModules Module.swift
[27/37] Emitting module InModules
[28/37] Compiling InModules Container.swift
[29/37] Compiling InTabs DefaultNoTabsView.swift
[30/37] Compiling InTabs TabImage.swift
[31/37] Compiling InTabs DefaultLoadingView.swift
[32/37] Compiling InTabs TabBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Models/TabBuilder.swift:50:47: warning: non-sendable type 'T' returned by call to main actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
44 | }
45 |
46 | public func set<T: View>(actor view: @MainActor () -> T) async -> TabBuilder {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
47 | return TabBuilder(title: title,
48 | icon: icon,
49 | order: order,
50 | view: AnyView(await view()))
| `- warning: non-sendable type 'T' returned by call to main actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
51 | }
52 |
[33/37] Compiling InTabs TabProvider.swift
[34/37] Compiling InModules ContainerGroup.swift
[35/37] Compiling InTabs InTabView.swift
[36/37] Compiling InTabs Tab.swift
[37/37] Compiling InModules ModularApp.swift
Build complete! (49.26s)
Fetching https://github.com/JustinGuedes/prelude.git
Fetching https://github.com/JustinGuedes/inswifted.git
[1/37] Fetching inswifted
[38/130] Fetching inswifted, prelude
Fetched https://github.com/JustinGuedes/inswifted.git from cache (0.70s)
Fetched https://github.com/JustinGuedes/prelude.git from cache (0.70s)
Computing version for https://github.com/JustinGuedes/prelude.git
Computed https://github.com/JustinGuedes/prelude.git at 0.0.1 (0.68s)
Computing version for https://github.com/JustinGuedes/inswifted.git
Computed https://github.com/JustinGuedes/inswifted.git at 0.1.0 (0.67s)
Creating working copy for https://github.com/JustinGuedes/inswifted.git
Working copy of https://github.com/JustinGuedes/inswifted.git resolved at 0.1.0
Creating working copy for https://github.com/JustinGuedes/prelude.git
Working copy of https://github.com/JustinGuedes/prelude.git resolved at 0.0.1
Build complete.
{
"dependencies" : [
{
"identity" : "inswifted",
"requirement" : {
"range" : [
{
"lower_bound" : "0.1.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JustinGuedes/inswifted.git"
},
{
"identity" : "prelude",
"requirement" : {
"range" : [
{
"lower_bound" : "0.0.1",
"upper_bound" : "0.1.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/JustinGuedes/prelude.git"
}
],
"manifest_display_name" : "InSwifted-Addons",
"name" : "InSwifted-Addons",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "InModules",
"targets" : [
"InModules"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InConfig",
"targets" : [
"InConfig"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "InTabs",
"targets" : [
"InTabs"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "InTabsTests",
"module_type" : "SwiftTarget",
"name" : "InTabsTests",
"path" : "Tests/InTabsTests",
"sources" : [
"InTabsTests.swift"
],
"target_dependencies" : [
"InTabs"
],
"type" : "test"
},
{
"c99name" : "InTabs",
"module_type" : "SwiftTarget",
"name" : "InTabs",
"path" : "Sources/InTabs",
"product_dependencies" : [
"InSwifted",
"Prelude"
],
"product_memberships" : [
"InTabs"
],
"sources" : [
"Models/Tab.swift",
"Models/TabBuilder.swift",
"Models/TabImage.swift",
"Models/TabProvider.swift",
"Views/Defaults/DefaultLoadingView.swift",
"Views/Defaults/DefaultNoTabsView.swift",
"Views/Tab/InTabView.swift",
"Views/Tab/InTabViewModel.swift"
],
"type" : "library"
},
{
"c99name" : "InModulesTests",
"module_type" : "SwiftTarget",
"name" : "InModulesTests",
"path" : "Tests/InModulesTests",
"sources" : [
"InModulesTests.swift"
],
"target_dependencies" : [
"InModules"
],
"type" : "test"
},
{
"c99name" : "InModules",
"module_type" : "SwiftTarget",
"name" : "InModules",
"path" : "Sources/InModules",
"product_dependencies" : [
"InSwifted"
],
"product_memberships" : [
"InModules"
],
"sources" : [
"App/ModularApp.swift",
"Container/Container.swift",
"Container/ContainerGroup.swift",
"Module/Module.swift",
"Module/ModuleBuilder.swift"
],
"type" : "library"
},
{
"c99name" : "InConfigTests",
"module_type" : "SwiftTarget",
"name" : "InConfigTests",
"path" : "Tests/InConfigTests",
"sources" : [
"InConfigTests.swift"
],
"target_dependencies" : [
"InConfig"
],
"type" : "test"
},
{
"c99name" : "InConfig",
"module_type" : "SwiftTarget",
"name" : "InConfig",
"path" : "Sources/InConfig",
"product_dependencies" : [
"InSwifted"
],
"product_memberships" : [
"InConfig"
],
"sources" : [
"Config.swift",
"ConfigProvider.swift",
"Providers/PropertyListConfigProvider.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.