The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of InSwifted-Addons, reference 0.0.5 (c1a0fb), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 21:32:44 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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/JustinGuedes/inswifted-addons.git
Reference: 0.0.5
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/JustinGuedes/inswifted-addons
 * tag               0.0.5      -> FETCH_HEAD
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 0.0.5
Fetching https://github.com/JustinGuedes/inswifted.git
Fetching https://github.com/JustinGuedes/prelude.git
[1/93] Fetching prelude
[94/130] Fetching prelude, inswifted
Fetched https://github.com/JustinGuedes/prelude.git from cache (0.66s)
Fetched https://github.com/JustinGuedes/inswifted.git from cache (0.66s)
Computing version for https://github.com/JustinGuedes/prelude.git
Computed https://github.com/JustinGuedes/prelude.git at 0.0.1 (1.24s)
Computing version for https://github.com/JustinGuedes/inswifted.git
Computed https://github.com/JustinGuedes/inswifted.git at 0.1.0 (0.56s)
Creating working copy for https://github.com/JustinGuedes/prelude.git
Working copy of https://github.com/JustinGuedes/prelude.git resolved at 0.0.1
Creating working copy for https://github.com/JustinGuedes/inswifted.git
Working copy of https://github.com/JustinGuedes/inswifted.git resolved at 0.1.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": "inswifted-addons",
      "name": "InSwifted-Addons",
      "url": "https://github.com/JustinGuedes/inswifted-addons.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/inswifted-addons",
      "dependencies": [
        {
          "identity": "inswifted",
          "name": "InSwifted",
          "url": "https://github.com/JustinGuedes/inswifted.git",
          "version": "0.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/inswifted",
          "dependencies": [
          ]
        },
        {
          "identity": "prelude",
          "name": "Prelude",
          "url": "https://github.com/JustinGuedes/prelude.git",
          "version": "0.0.6",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/prelude",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/JustinGuedes/inswifted-addons.git
[1/84] Fetching inswifted-addons
Fetched https://github.com/JustinGuedes/inswifted-addons.git from cache (0.65s)
Fetching https://github.com/JustinGuedes/prelude.git from cache
Fetching https://github.com/JustinGuedes/inswifted.git from cache
Fetched https://github.com/JustinGuedes/inswifted.git from cache (0.43s)
Fetched https://github.com/JustinGuedes/prelude.git from cache (0.43s)
Computing version for https://github.com/JustinGuedes/inswifted.git
Computed https://github.com/JustinGuedes/inswifted.git at 0.1.0 (0.48s)
Computing version for https://github.com/JustinGuedes/prelude.git
Computed https://github.com/JustinGuedes/prelude.git at 0.0.6 (0.03s)
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/inswifted-addons.git
Working copy of https://github.com/JustinGuedes/inswifted-addons.git resolved at 0.0.5 (c1a0fb8)
Creating working copy for https://github.com/JustinGuedes/prelude.git
Working copy of https://github.com/JustinGuedes/prelude.git resolved at 0.0.6
warning: '.resolve-product-dependencies': dependency 'inswifted-addons' is not used by any target
Found 2 product dependencies
  - InSwifted
  - Prelude
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/JustinGuedes/inswifted-addons.git
https://github.com/JustinGuedes/inswifted-addons.git
{
  "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"
}
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/6] Write sources
[5/6] Write swift-version-2F0A5646E1D333AE.txt
[7/18] Compiling InSwifted Injected.swift
[8/18] Emitting module Prelude
[9/18] Compiling Prelude Sequence.swift
[10/18] Compiling InSwifted InstanceDependencyFactory.swift
[11/18] Compiling InSwifted InSwifted.swift
[12/18] Compiling InSwifted SingletonDependencyFactory.swift
[13/18] Compiling InSwifted DependencyResolver.swift
[14/18] Compiling InSwifted DependencyError.swift
[15/18] Compiling InSwifted DependencyFactory.swift
[16/18] Compiling InSwifted DependencyRegisterer.swift
[17/18] Emitting module InSwifted
[18/18] Compiling InSwifted DependencyContainer.swift
[19/37] Compiling InConfig ConfigProvider.swift
[20/37] Compiling InConfig Config.swift
[21/37] Emitting module InConfig
[22/37] Compiling InConfig PropertyListConfigProvider.swift
[23/37] Compiling InTabs InTabViewModel.swift
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Views/Tab/InTabViewModel.swift:21:14: warning: non-sendable result type '[Tab]' cannot be sent from nonisolated context in call to instance method 'flatMap'; this is an error in the Swift 6 language mode
19 |         isLoading = true
20 |         tabs = await providers
21 |             .flatMap(getTab)
   |              `- warning: non-sendable result type '[Tab]' cannot be sent from nonisolated context in call to instance method 'flatMap'; 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' cannot exit main actor-isolated context in call to nonisolated instance method 'getTab(from:)'; 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' cannot exit main actor-isolated context in call to nonisolated instance method 'getTab(from:)'; 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 value of non-Sendable type '(any TabProvider) async -> Tab?' 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 value of non-Sendable type '(any TabProvider) async -> Tab?' risks causing data races; this is an error in the Swift 6 language mode
   |              `- note: sending main actor-isolated value of non-Sendable type '(any TabProvider) async -> Tab?' to nonisolated callee risks causing races in between main actor-isolated and nonisolated uses
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
[24/37] Emitting module InModules
[25/37] Compiling InTabs InTabView.swift
[26/37] Compiling InModules Module.swift
[27/37] Compiling InModules Container.swift
[28/37] Compiling InModules ContainerGroup.swift
[29/37] Compiling InModules ModuleBuilder.swift
[30/37] Compiling InTabs DefaultLoadingView.swift
[31/37] Compiling InTabs TabBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/InTabs/Models/TabBuilder.swift:50:47: warning: non-sendable result type 'T' cannot be sent from main actor-isolated context in call to parameter 'view'; 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 result type 'T' cannot be sent from main actor-isolated context in call to parameter 'view'; this is an error in the Swift 6 language mode
51 |     }
52 |
[32/37] Compiling InTabs TabProvider.swift
[33/37] Compiling InTabs Tab.swift
[34/37] Compiling InTabs TabImage.swift
[35/37] Compiling InModules ModularApp.swift
[36/37] Compiling InTabs DefaultNoTabsView.swift
[37/37] Emitting module InTabs
Build complete! (15.88s)
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.