The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Successful build of IterableView, reference main (cd533f), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 12:54:53 UTC.

Swift 6 data race errors: 11

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/dankinsoid/IterableView.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/dankinsoid/IterableView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cd533f2 Init
Cloned https://github.com/dankinsoid/IterableView.git
Revision (git rev-parse @):
cd533f2bb1f8e113f1e8ce02df65718b23c4b51c
SUCCESS checkout https://github.com/dankinsoid/IterableView.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": "iterableview",
      "name": "IterableView",
      "url": "https://github.com/dankinsoid/IterableView.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IterableView",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/dankinsoid/IterableView.git
[1/35] Fetching iterableview
Fetched https://github.com/dankinsoid/IterableView.git from cache (0.73s)
Creating working copy for https://github.com/dankinsoid/IterableView.git
Working copy of https://github.com/dankinsoid/IterableView.git resolved at main (cd533f2)
warning: '.resolve-product-dependencies': dependency 'iterableview' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/dankinsoid/IterableView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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--7754E27361AE5C74.txt
[3/14] Compiling IterableView IterableViewVisitor.swift
[4/14] Compiling IterableView IfView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IfView.swift:22:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | 	}
21 |
22 | 	public var count: Int {
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | 		switch self {
24 | 		case .first(let first): return first.count
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IfView.swift:29:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | 	}
28 |
29 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
30 | 		switch self {
31 | 		case .first(let first): return first.iterate(with: visitor, reversed: reversed)
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[5/15] Compiling IterableView ArrayViewBuilder.swift
[6/15] Compiling IterableView EmptyViewIterable.swift
[7/15] Compiling IterableView AnyViewsBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:23:9: warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public struct ArrayView<Content: IterableView>: IterableView, ExpressibleByArrayLiteral {
   |                                                               `- note: add '@preconcurrency' to the 'ExpressibleByArrayLiteral' conformance to defer isolation checking to run time
13 | 	public var content: [Content]
14 |
   :
21 | 	}
22 |
23 | 	public init(arrayLiteral elements: Content...) {
   |         |- warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |         `- note: add 'nonisolated' to 'init(arrayLiteral:)' to make this initializer not isolated to the actor
24 | 		content = elements
25 | 	}
Swift.ExpressibleByArrayLiteral:3:5: note: 'init(arrayLiteral:)' declared here
1 | public protocol ExpressibleByArrayLiteral {
2 |     associatedtype ArrayLiteralElement
3 |     init(arrayLiteral elements: Self.ArrayLiteralElement...)
  |     `- note: 'init(arrayLiteral:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:31:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | 	}
30 |
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:33:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
34 | 		switch reversed {
35 | 		case true:
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[8/15] Compiling IterableView ArrayView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:23:9: warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public struct ArrayView<Content: IterableView>: IterableView, ExpressibleByArrayLiteral {
   |                                                               `- note: add '@preconcurrency' to the 'ExpressibleByArrayLiteral' conformance to defer isolation checking to run time
13 | 	public var content: [Content]
14 |
   :
21 | 	}
22 |
23 | 	public init(arrayLiteral elements: Content...) {
   |         |- warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |         `- note: add 'nonisolated' to 'init(arrayLiteral:)' to make this initializer not isolated to the actor
24 | 		content = elements
25 | 	}
Swift.ExpressibleByArrayLiteral:3:5: note: 'init(arrayLiteral:)' declared here
1 | public protocol ExpressibleByArrayLiteral {
2 |     associatedtype ArrayLiteralElement
3 |     init(arrayLiteral elements: Self.ArrayLiteralElement...)
  |     `- note: 'init(arrayLiteral:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:31:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | 	}
30 |
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:33:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
34 | 		switch reversed {
35 | 		case true:
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[9/15] Compiling IterableView IterableMap.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableMap.swift:26:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | 	public var base: Base
25 | 	public var modifier: (Int) -> Modifier
26 | 	public var count: Int { base.count }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 |
28 | 	public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableMap.swift:36:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
34 | 	}
35 |
36 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
37 | 		let visitor = MapIterableViewVisitor(modifier: modifier, base: visitor)
38 | 		return base.iterate(with: visitor, reversed: reversed)
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[10/15] Compiling IterableView OptionalView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/OptionalView.swift:25:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |
22 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
23 | extension OptionalView: IterableViewType where Wrapped: IterableViewType {
   |                         `- note: add '@preconcurrency' to the 'IterableViewType' conformance to defer isolation checking to run time
24 |
25 | 	public var count: Int {
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | 		wrapped?.count ?? 0
27 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/OptionalView.swift:29:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | 	}
28 |
29 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
30 | 		wrapped?.iterate(with: visitor, reversed: reversed) ?? true
31 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[11/15] Emitting module IterableView
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:23:9: warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
10 |
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public struct ArrayView<Content: IterableView>: IterableView, ExpressibleByArrayLiteral {
   |                                                               `- note: add '@preconcurrency' to the 'ExpressibleByArrayLiteral' conformance to defer isolation checking to run time
13 | 	public var content: [Content]
14 |
   :
21 | 	}
22 |
23 | 	public init(arrayLiteral elements: Content...) {
   |         |- warning: main actor-isolated initializer 'init(arrayLiteral:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |         `- note: add 'nonisolated' to 'init(arrayLiteral:)' to make this initializer not isolated to the actor
24 | 		content = elements
25 | 	}
Swift.ExpressibleByArrayLiteral:3:5: note: 'init(arrayLiteral:)' declared here
1 | public protocol ExpressibleByArrayLiteral {
2 |     associatedtype ArrayLiteralElement
3 |     init(arrayLiteral elements: Self.ArrayLiteralElement...)
  |     `- note: 'init(arrayLiteral:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:31:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | 	}
30 |
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:33:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | 	public var count: Int { content.reduce(0) { $0 + $1.count } }
32 |
33 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
34 | 		switch reversed {
35 | 		case true:
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IfView.swift:22:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | 	}
21 |
22 | 	public var count: Int {
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | 		switch self {
24 | 		case .first(let first): return first.count
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IfView.swift:29:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | 	}
28 |
29 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
30 | 		switch self {
31 | 		case .first(let first): return first.iterate(with: visitor, reversed: reversed)
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableMap.swift:26:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | 	public var base: Base
25 | 	public var modifier: (Int) -> Modifier
26 | 	public var count: Int { base.count }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 |
28 | 	public var body: some View {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableMap.swift:36:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
34 | 	}
35 |
36 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
37 | 		let visitor = MapIterableViewVisitor(modifier: modifier, base: visitor)
38 | 		return base.iterate(with: visitor, reversed: reversed)
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/OptionalView.swift:25:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |
22 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
23 | extension OptionalView: IterableViewType where Wrapped: IterableViewType {
   |                         `- note: add '@preconcurrency' to the 'IterableViewType' conformance to defer isolation checking to run time
24 |
25 | 	public var count: Int {
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | 		wrapped?.count ?? 0
27 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/OptionalView.swift:29:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | 	}
28 |
29 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
30 | 		wrapped?.iterate(with: visitor, reversed: reversed) ?? true
31 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/SingleView.swift:14:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | public struct SingleView<Content: View>: IterableView {
13 | 	public var content: Content
14 | 	public var count: Int { 1 }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 |
16 | 	public var body: Content {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/SingleView.swift:24:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
25 | 		visitor.visit(body)
26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
[12/15] Compiling IterableView IterableView.swift
[13/15] Compiling IterableView IterableViewBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:117:3: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
114 |
115 | 	@inline(__always)
116 | 	public static func buildOptional<F: IterableView>(_ component: F?) -> OptionalView<F> {
    |                     `- note: add '@MainActor' to make static method 'buildOptional' part of global actor 'MainActor'
117 | 		OptionalView(component)
    |   `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
118 | 	}
119 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/OptionalView.swift:17:9: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
15 | 	public var body: some View { wrapped }
16 |
17 | 	public init(_ wrapped: Wrapped?) {
   |         `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
18 | 		self.wrapped = wrapped
19 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:132:3: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
129 |
130 | 	@inline(__always)
131 | 	public static func buildArray<F: IterableView>(_ components: [F]) -> ArrayView<F> {
    |                     `- note: add '@MainActor' to make static method 'buildArray' part of global actor 'MainActor'
132 | 		ArrayView(components)
    |   `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
133 | 	}
134 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/ArrayView.swift:19:9: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
17 | 	}
18 |
19 | 	public init<C: Collection>(_ content: C) where C.Element == Content {
   |         `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
20 | 		self.content = Array(content)
21 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:142:3: warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
139 |
140 | 	@inline(__always)
141 | 	public static func buildExpression<F: View>(_ expression: F) -> SingleView<F> {
    |                     `- note: add '@MainActor' to make static method 'buildExpression' part of global actor 'MainActor'
142 | 		SingleView(expression)
    |   `- warning: call to main actor-isolated initializer 'init(_:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
143 | 	}
144 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/SingleView.swift:20:9: note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
18 | 	}
19 |
20 | 	public init(_ content: Content) {
   |         `- note: calls to initializer 'init(_:)' from outside of its actor context are implicitly asynchronous
21 | 		self.content = content
22 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:117:3: warning: sending 'component' risks causing data races; this is an error in the Swift 6 language mode
115 | 	@inline(__always)
116 | 	public static func buildOptional<F: IterableView>(_ component: F?) -> OptionalView<F> {
117 | 		OptionalView(component)
    |   |- warning: sending 'component' risks causing data races; this is an error in the Swift 6 language mode
    |   `- note: sending task-isolated 'component' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
118 | 	}
119 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:132:3: warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
130 | 	@inline(__always)
131 | 	public static func buildArray<F: IterableView>(_ components: [F]) -> ArrayView<F> {
132 | 		ArrayView(components)
    |   |- warning: sending 'components' risks causing data races; this is an error in the Swift 6 language mode
    |   `- note: sending task-isolated 'components' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
133 | 	}
134 |
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableViewBuilder.swift:142:3: warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
140 | 	@inline(__always)
141 | 	public static func buildExpression<F: View>(_ expression: F) -> SingleView<F> {
142 | 		SingleView(expression)
    |   |- warning: sending 'expression' risks causing data races; this is an error in the Swift 6 language mode
    |   `- note: sending task-isolated 'expression' to main actor-isolated callee risks causing data races between main actor-isolated and task-isolated uses
143 | 	}
144 |
[14/15] Compiling IterableView PairView.swift
[15/15] Compiling IterableView SingleView.swift
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/SingleView.swift:14:13: warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
12 | public struct SingleView<Content: View>: IterableView {
13 | 	public var content: Content
14 | 	public var count: Int { 1 }
   |             `- warning: main actor-isolated property 'count' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
15 |
16 | 	public var body: Content {
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:13:6: note: 'count' declared here
11 | @available(iOS 13.0, OSX 10.15, tvOS 13.0, watchOS 6.0, *)
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
   |      `- note: 'count' declared here
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
15 | }
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/SingleView.swift:24:14: warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | 	}
23 |
24 | 	public func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool {
   |              |- warning: main actor-isolated instance method 'iterate(with:reversed:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
   |              `- note: add 'nonisolated' to 'iterate(with:reversed:)' to make this instance method not isolated to the actor
25 | 		visitor.visit(body)
26 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/IterableView/IterableView.swift:14:7: note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
12 | public protocol IterableViewType {
13 | 	var count: Int { get }
14 | 	func iterate<V: IterableViewVisitor>(with visitor: V, reversed: Bool) -> Bool
   |       `- note: mark the protocol requirement 'iterate(with:reversed:)' 'async' to allow actor-isolated conformances
15 | }
16 |
Build complete! (30.33s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "IterableView",
  "name" : "IterableView",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "IterableView",
      "targets" : [
        "IterableView"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IterableView",
      "module_type" : "SwiftTarget",
      "name" : "IterableView",
      "path" : "Sources/IterableView",
      "product_memberships" : [
        "IterableView"
      ],
      "sources" : [
        "AnyViewsBuilder.swift",
        "ArrayView.swift",
        "ArrayViewBuilder.swift",
        "EmptyViewIterable.swift",
        "IfView.swift",
        "IterableMap.swift",
        "IterableView.swift",
        "IterableViewBuilder.swift",
        "IterableViewVisitor.swift",
        "OptionalView.swift",
        "PairView.swift",
        "SingleView.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.