Build Information
Successful build of d3-stories-instagram, reference main (8fe7c2
), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 00:50:40 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftuiux/d3-stories-instagram.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/swiftuiux/d3-stories-instagram
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 8fe7c28 Update LICENSE
Cloned https://github.com/swiftuiux/d3-stories-instagram.git
Revision (git rev-parse @):
8fe7c284883ecd411ebf7837cfd37c4dc29f3db7
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swiftuiux/d3-stories-instagram.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/swiftuiux/d3-stories-instagram.git
https://github.com/swiftuiux/d3-stories-instagram.git
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "d3-stories-instagram",
"name" : "d3-stories-instagram",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12"
},
{
"name" : "ios",
"version" : "15"
},
{
"name" : "tvos",
"version" : "16"
},
{
"name" : "watchos",
"version" : "10"
}
],
"products" : [
{
"name" : "d3-stories-instagram",
"targets" : [
"d3-stories-instagram"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "d3_stories_instagramTests",
"module_type" : "SwiftTarget",
"name" : "d3-stories-instagramTests",
"path" : "Tests/d3-stories-instagramTests",
"sources" : [
"d3_stories_instagramTests.swift"
],
"target_dependencies" : [
"d3-stories-instagram"
],
"type" : "test"
},
{
"c99name" : "d3_stories_instagram",
"module_type" : "SwiftTarget",
"name" : "d3-stories-instagram",
"path" : "Sources/d3-stories-instagram",
"product_memberships" : [
"d3-stories-instagram"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/Resources/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
}
],
"sources" : [
"ProgressBar.swift",
"StoriesView.swift",
"StoriesWidget.swift",
"data/ProgressBarConfig.swift",
"data/StoriesError.swift",
"enum/StoriesInternalError.swift",
"enum/StoriesState.swift",
"enum/Strategy.swift",
"example/CustomStoriesValidater.swift",
"example/Stories.swift",
"example/StoryTpl.swift",
"key/StoriesStateKey.swift",
"protocol/IStoriesError.swift",
"protocol/IStoriesManager.swift",
"protocol/IStoriesValidater.swift",
"protocol/IStory.swift",
"protocol/IStoryTpl.swift",
"viewmodel/StateManager.swift",
"viewmodel/StoriesManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
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/5] Write sources
[1/5] Copying Info.plist
[1/5] Copying Localizable.strings
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/24] Compiling d3_stories_instagram IStoryTpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/viewmodel/StateManager.swift:88:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | publisher.send(.start)
87 | DispatchQueue.main.asyncAfter(deadline: .now() + leeway) { [weak self] in
88 | self?.begin(duration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[7/24] Compiling d3_stories_instagram StateManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/viewmodel/StateManager.swift:88:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
86 | publisher.send(.start)
87 | DispatchQueue.main.asyncAfter(deadline: .now() + leeway) { [weak self] in
88 | self?.begin(duration)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
89 | }
90 | }
[8/24] Compiling d3_stories_instagram CustomStoriesValidater.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:23:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:24:23: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:25:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:26:23: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:27:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
:
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:23:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
21 | public func builder(progress: Binding<CGFloat>) -> some View {
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:24:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:25:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:26:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:27:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
28 | }
29 | }
[9/24] Compiling d3_stories_instagram Stories.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:23:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:24:23: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:25:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:26:23: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:27:22: warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
19 | @ViewBuilder
20 | /// Define view template for every story
21 | public func builder(progress: Binding<CGFloat>) -> some View {
| `- note: add '@MainActor' to make instance method 'builder(progress:)' part of global actor 'MainActor'
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
:
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
| `- warning: call to main actor-isolated initializer 'init(_:_:_:_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
28 | }
29 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/StoryTpl.swift:32:12: note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
30 | // MARK: - Life circle
31 |
32 | public init(_ story: T, _ color: Color, _ text: String, _ progress: Binding<CGFloat>) {
| |- note: calls to initializer 'init(_:_:_:_:)' from outside of its actor context are implicitly asynchronous
| `- note: main actor isolation inferred from conformance to protocol 'IStoryTpl'
33 | self.story = story
34 | self.color = color
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:23:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
21 | public func builder(progress: Binding<CGFloat>) -> some View {
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:24:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
22 | switch self {
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:25:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
23 | case .first: StoryTpl(self, .green, "1", progress)
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:26:23: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
24 | case .second: StoryTpl(self, .brown, "2", progress)
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
28 | }
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/example/Stories.swift:27:22: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
25 | case .third: StoryTpl(self, .purple, "3", progress)
26 | case .fourth: StoryTpl(self, .yellow, "4", progress)
27 | case .fifth: StoryTpl(self, .orange, "5", progress)
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'self' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
28 | }
29 | }
[10/24] Compiling d3_stories_instagram IStoriesValidater.swift
[11/24] Compiling d3_stories_instagram IStory.swift
[12/26] Compiling d3_stories_instagram StoriesState.swift
[13/26] Compiling d3_stories_instagram Strategy.swift
[14/26] Compiling d3_stories_instagram StoryTpl.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/key/StoriesStateKey.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | typealias Value = StoriesState
13 |
14 | static var defaultValue: StoriesState = .ready
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 |
16 | static func reduce(value: inout Value, nextValue: () -> Value) {
[15/26] Compiling d3_stories_instagram StoriesStateKey.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/key/StoriesStateKey.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | typealias Value = StoriesState
13 |
14 | static var defaultValue: StoriesState = .ready
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 |
16 | static func reduce(value: inout Value, nextValue: () -> Value) {
[16/26] Compiling d3_stories_instagram ProgressBar.swift
[17/26] Compiling d3_stories_instagram StoriesView.swift
[18/26] Compiling d3_stories_instagram IStoriesError.swift
[19/26] Compiling d3_stories_instagram IStoriesManager.swift
[20/26] Compiling d3_stories_instagram StoriesWidget.swift
[21/26] Compiling d3_stories_instagram ProgressBarConfig.swift
[22/26] Emitting module d3_stories_instagram
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/data/StoriesError.swift:13:16: warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
11 | @available(iOS 15.0, macOS 12.0, tvOS 16.0, watchOS 10.0, *)
12 | public struct StoriesError: IStoriesError {
13 | public let description: LocalizedStringKey
| `- warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
14 | }
15 |
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/key/StoriesStateKey.swift:14:16: warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | typealias Value = StoriesState
13 |
14 | static var defaultValue: StoriesState = .ready
| |- warning: static property 'defaultValue' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultValue' to a 'let' constant to make 'Sendable' shared state immutable
| |- 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
15 |
16 | static func reduce(value: inout Value, nextValue: () -> Value) {
[23/26] Compiling d3_stories_instagram StoriesError.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/data/StoriesError.swift:13:16: warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
11 | @available(iOS 15.0, macOS 12.0, tvOS 16.0, watchOS 10.0, *)
12 | public struct StoriesError: IStoriesError {
13 | public let description: LocalizedStringKey
| `- warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
14 | }
15 |
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
[24/26] Compiling d3_stories_instagram StoriesInternalError.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/data/StoriesError.swift:13:16: warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
11 | @available(iOS 15.0, macOS 12.0, tvOS 16.0, watchOS 10.0, *)
12 | public struct StoriesError: IStoriesError {
13 | public let description: LocalizedStringKey
| `- warning: stored property 'description' of 'Sendable'-conforming struct 'StoriesError' has non-sendable type 'LocalizedStringKey'; this is an error in the Swift 6 language mode
14 | }
15 |
SwiftUICore.LocalizedStringKey:2:23: note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
1 | @available(iOS 13.0, macOS 10.15, tvOS 13.0, watchOS 6.0, *)
2 | @frozen public struct LocalizedStringKey : Equatable, ExpressibleByStringInterpolation {
| `- note: struct 'LocalizedStringKey' does not conform to the 'Sendable' protocol
3 | public init(_ value: String)
4 | public init(stringLiteral value: String)
[25/26] Compiling d3_stories_instagram StoriesManager.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/viewmodel/StoriesManager.swift:83:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
81 | tapTime = true
82 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) { [weak self] in
83 | self?.tapTime = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
84 | }
85 | }
[26/26] Compiling d3_stories_instagram resource_bundle_accessor.swift
/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/viewmodel/StoriesManager.swift:83:13: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
81 | tapTime = true
82 | DispatchQueue.main.asyncAfter(deadline: .now() + 0.25) { [weak self] in
83 | self?.tapTime = false
| |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated 'self' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
84 | }
85 | }
Build complete! (10.98s)
Build complete.
{
"default_localization" : "en",
"dependencies" : [
],
"manifest_display_name" : "d3-stories-instagram",
"name" : "d3-stories-instagram",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12"
},
{
"name" : "ios",
"version" : "15"
},
{
"name" : "tvos",
"version" : "16"
},
{
"name" : "watchos",
"version" : "10"
}
],
"products" : [
{
"name" : "d3-stories-instagram",
"targets" : [
"d3-stories-instagram"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "d3_stories_instagramTests",
"module_type" : "SwiftTarget",
"name" : "d3-stories-instagramTests",
"path" : "Tests/d3-stories-instagramTests",
"sources" : [
"d3_stories_instagramTests.swift"
],
"target_dependencies" : [
"d3-stories-instagram"
],
"type" : "test"
},
{
"c99name" : "d3_stories_instagram",
"module_type" : "SwiftTarget",
"name" : "d3-stories-instagram",
"path" : "Sources/d3-stories-instagram",
"product_memberships" : [
"d3-stories-instagram"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/Resources/en.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "en"
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Sources/d3-stories-instagram/Resources/es.lproj/Localizable.strings",
"rule" : {
"process" : {
"localization" : "es"
}
}
}
],
"sources" : [
"ProgressBar.swift",
"StoriesView.swift",
"StoriesWidget.swift",
"data/ProgressBarConfig.swift",
"data/StoriesError.swift",
"enum/StoriesInternalError.swift",
"enum/StoriesState.swift",
"enum/Strategy.swift",
"example/CustomStoriesValidater.swift",
"example/Stories.swift",
"example/StoryTpl.swift",
"key/StoriesStateKey.swift",
"protocol/IStoriesError.swift",
"protocol/IStoriesManager.swift",
"protocol/IStoriesValidater.swift",
"protocol/IStory.swift",
"protocol/IStoryTpl.swift",
"viewmodel/StateManager.swift",
"viewmodel/StoriesManager.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Done.