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 SwiftUILazyContainer, reference main (060287), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 00:47:15 UTC.

Swift 6 data race errors: 5

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.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ciaranrobrien/SwiftUILazyContainer.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ciaranrobrien/SwiftUILazyContainer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 060287b Updated documentation
Cloned https://github.com/ciaranrobrien/SwiftUILazyContainer.git
Revision (git rev-parse @):
060287b6c9ae6fdb7fc41d5965b4b0df834fb3e7
SUCCESS checkout https://github.com/ciaranrobrien/SwiftUILazyContainer.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": "swiftuilazycontainer",
      "name": "SwiftUILazyContainer",
      "url": "https://github.com/ciaranrobrien/SwiftUILazyContainer.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftUILazyContainer",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/ciaranrobrien/SwiftUILazyContainer.git
[1/195] Fetching swiftuilazycontainer
Fetched https://github.com/ciaranrobrien/SwiftUILazyContainer.git from cache (0.83s)
Creating working copy for https://github.com/ciaranrobrien/SwiftUILazyContainer.git
Working copy of https://github.com/ciaranrobrien/SwiftUILazyContainer.git resolved at main (060287b)
warning: '.resolve-product-dependencies': dependency 'swiftuilazycontainer' 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/ciaranrobrien/SwiftUILazyContainer.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUILazyContainer",
  "name" : "SwiftUILazyContainer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUILazyContainer",
      "targets" : [
        "SwiftUILazyContainer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUILazyContainer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUILazyContainer",
      "path" : "Sources/SwiftUILazyContainer",
      "product_memberships" : [
        "SwiftUILazyContainer"
      ],
      "sources" : [
        "API/LazyContainer.swift",
        "API/LazyLineSize.swift",
        "API/LazyMasonry/LazyHMasonry.swift",
        "API/LazyMasonry/LazyMasonry.swift",
        "API/LazyMasonry/LazyVMasonry.swift",
        "API/LazyStack/AltLazyHStack.swift",
        "API/LazyStack/AltLazyVStack.swift",
        "API/LazyStack/LazyStack.swift",
        "API/LazySubviewSize.swift",
        "API/LazySubviewTemplate.swift",
        "API/ResolvedLazySubviewSize.swift",
        "Examples/ExampleA.swift",
        "Examples/ExampleB.swift",
        "Examples/ExampleC.swift",
        "Examples/ExampleD.swift",
        "Internal/AnimatableEnvironment.swift",
        "Internal/Extensions.swift",
        "Internal/LazyContainerModifier.swift",
        "Internal/LazySubviewSizeProvider.swift",
        "Internal/LengthReader.swift",
        "Internal/Masonry/LazyMasonryLayout.swift",
        "Internal/Masonry/LazyMasonryModifier.swift",
        "Internal/Stack/LazyStackLayout.swift",
        "Internal/Stack/LazyStackModifier.swift",
        "Internal/VisibleElement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
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/26] Emitting module SwiftUILazyContainer
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/API/LazyLineSize.swift:53:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 |
52 |
53 | extension [LazyLineSize]: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
54 |
55 |     /// Multiple lines in the space of a single flexible line.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/AnimatableEnvironment.swift:20:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     var animatableData: Value.AnimatableData {
   |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |         get { value.animatableData }
22 |         set { value.animatableData = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:11:1: warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
  9 | import enum Accelerate.vDSP
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
    | |- warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 12 |     public static var zero: Self = [.zero]
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
 12 |     public static var zero: Self = [.zero]
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public static func + (lhs: [Double], rhs: [Double]) -> [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:44:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 42 |
 43 |
 44 | extension Double: Animatable { }
    | |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 45 |
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:148:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
146 |     typealias Value = [AnyHashable? : Anchor<CGRect>]
147 |
148 |     static let defaultValue: Value = [:]
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 |     static func reduce(value: inout Value, nextValue: () -> Value) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:166:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 | private struct LazyContentTemplateSizesKey: EnvironmentKey {
166 |     static let defaultValue = [AnyHashable? : CGSize]()
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | }
168 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/LazyContainerModifier.swift:43:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 41 |     }
 42 |
 43 |     var animatableData: AnimatablePair<EdgeInsets.AnimatableData, EdgeInsets.AnimatableData> {
    |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 44 |         get {
 45 |             AnimatablePair(insets.animatableData, safeAreaFactors.animatableData)
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[4/28] Compiling SwiftUILazyContainer LazyStackModifier.swift
[5/28] Compiling SwiftUILazyContainer VisibleElement.swift
[6/28] Compiling SwiftUILazyContainer LazySubviewTemplate.swift
[7/28] Compiling SwiftUILazyContainer ResolvedLazySubviewSize.swift
[8/28] Compiling SwiftUILazyContainer ExampleA.swift
[9/28] Compiling SwiftUILazyContainer LazyContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/API/LazyLineSize.swift:53:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 |
52 |
53 | extension [LazyLineSize]: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
54 |
55 |     /// Multiple lines in the space of a single flexible line.
[10/28] Compiling SwiftUILazyContainer LazyLineSize.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/API/LazyLineSize.swift:53:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 |
52 |
53 | extension [LazyLineSize]: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
54 |
55 |     /// Multiple lines in the space of a single flexible line.
[11/28] Compiling SwiftUILazyContainer LazyHMasonry.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/API/LazyLineSize.swift:53:1: warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
51 |
52 |
53 | extension [LazyLineSize]: ExpressibleByIntegerLiteral {
   | |- warning: extension declares a conformance of imported type 'Array' to imported protocol 'ExpressibleByIntegerLiteral'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
   | `- note: add '@retroactive' to silence this warning
54 |
55 |     /// Multiple lines in the space of a single flexible line.
[12/28] Compiling SwiftUILazyContainer AltLazyVStack.swift
[13/28] Compiling SwiftUILazyContainer LazyStack.swift
[14/28] Compiling SwiftUILazyContainer LazySubviewSize.swift
[15/28] Compiling SwiftUILazyContainer LengthReader.swift
[16/28] Compiling SwiftUILazyContainer LazyMasonryLayout.swift
[17/28] Compiling SwiftUILazyContainer LazyMasonryModifier.swift
[18/28] Compiling SwiftUILazyContainer LazyStackLayout.swift
[19/28] Compiling SwiftUILazyContainer LazyMasonry.swift
[20/28] Compiling SwiftUILazyContainer LazyVMasonry.swift
[21/28] Compiling SwiftUILazyContainer AltLazyHStack.swift
[22/28] Compiling SwiftUILazyContainer ExampleB.swift
[23/28] Compiling SwiftUILazyContainer ExampleC.swift
[24/28] Compiling SwiftUILazyContainer ExampleD.swift
[25/28] Compiling SwiftUILazyContainer LazyContainerModifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/LazyContainerModifier.swift:43:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 41 |     }
 42 |
 43 |     var animatableData: AnimatablePair<EdgeInsets.AnimatableData, EdgeInsets.AnimatableData> {
    |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 44 |         get {
 45 |             AnimatablePair(insets.animatableData, safeAreaFactors.animatableData)
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[26/28] Compiling SwiftUILazyContainer LazySubviewSizeProvider.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/LazyContainerModifier.swift:43:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 41 |     }
 42 |
 43 |     var animatableData: AnimatablePair<EdgeInsets.AnimatableData, EdgeInsets.AnimatableData> {
    |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
 44 |         get {
 45 |             AnimatablePair(insets.animatableData, safeAreaFactors.animatableData)
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
[27/28] Compiling SwiftUILazyContainer AnimatableEnvironment.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/AnimatableEnvironment.swift:20:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     var animatableData: Value.AnimatableData {
   |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |         get { value.animatableData }
22 |         set { value.animatableData = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:11:1: warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
  9 | import enum Accelerate.vDSP
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
    | |- warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 12 |     public static var zero: Self = [.zero]
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
 12 |     public static var zero: Self = [.zero]
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public static func + (lhs: [Double], rhs: [Double]) -> [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:44:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 42 |
 43 |
 44 | extension Double: Animatable { }
    | |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 45 |
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:148:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
146 |     typealias Value = [AnyHashable? : Anchor<CGRect>]
147 |
148 |     static let defaultValue: Value = [:]
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 |     static func reduce(value: inout Value, nextValue: () -> Value) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:166:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 | private struct LazyContentTemplateSizesKey: EnvironmentKey {
166 |     static let defaultValue = [AnyHashable? : CGSize]()
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | }
168 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
[28/28] Compiling SwiftUILazyContainer Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/AnimatableEnvironment.swift:20:9: warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
18 |     }
19 |
20 |     var animatableData: Value.AnimatableData {
   |         `- warning: main actor-isolated property 'animatableData' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 |         get { value.animatableData }
22 |         set { value.animatableData = newValue }
SwiftUICore.Animatable:4:9: note: 'animatableData' declared here
2 | public protocol Animatable {
3 |     associatedtype AnimatableData : VectorArithmetic
4 |     var animatableData: Self.AnimatableData { get set }
  |         `- note: 'animatableData' declared here
5 |     static func _makeAnimatable(value: inout _GraphValue<Self>, inputs: _GraphInputs)
6 | }
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:11:1: warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
  9 | import enum Accelerate.vDSP
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
    | |- warning: extension declares a conformance of imported type 'Array' to imported protocols 'AdditiveArithmetic', 'Animatable', 'VectorArithmetic'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 12 |     public static var zero: Self = [.zero]
 13 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:12:23: warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 10 |
 11 | extension Array<Double>: AdditiveArithmetic, Animatable, VectorArithmetic {
 12 |     public static var zero: Self = [.zero]
    |                       |- warning: static property 'zero' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: convert 'zero' to a 'let' constant to make 'Sendable' shared state immutable
    |                       |- note: annotate 'zero' with '@MainActor' if property should only be accessed from the main actor
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 13 |
 14 |     public static func + (lhs: [Double], rhs: [Double]) -> [Double] {
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:44:1: warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 42 |
 43 |
 44 | extension Double: Animatable { }
    | |- warning: extension declares a conformance of imported type 'Double' to imported protocol 'Animatable'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 45 |
 46 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:148:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
146 |     typealias Value = [AnyHashable? : Anchor<CGRect>]
147 |
148 |     static let defaultValue: Value = [:]
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'LazySubviewTemplateAnchorsKey.Value' (aka 'Dictionary<Optional<AnyHashable>, Anchor<CGRect>>') may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
149 |
150 |     static func reduce(value: inout Value, nextValue: () -> Value) {
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftUILazyContainer/Internal/Extensions.swift:166:16: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
164 | }
165 | private struct LazyContentTemplateSizesKey: EnvironmentKey {
166 |     static let defaultValue = [AnyHashable? : CGSize]()
    |                |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type '[AnyHashable? : CGSize]' may have shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: annotate 'defaultValue' with '@MainActor' if property should only be accessed from the main actor
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
167 | }
168 |
Swift.Dictionary:1:23: note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
1 | @frozen public struct Dictionary<Key, Value> where Key : Hashable {
  |                       `- note: generic struct 'Dictionary' does not conform to the 'Sendable' protocol
2 |     public typealias Element = (key: Key, value: Value)
3 |     @inlinable public init(_immutableCocoaDictionary: __owned AnyObject)
Build complete! (32.84s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SwiftUILazyContainer",
  "name" : "SwiftUILazyContainer",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "tvos",
      "version" : "13.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftUILazyContainer",
      "targets" : [
        "SwiftUILazyContainer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftUILazyContainer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftUILazyContainer",
      "path" : "Sources/SwiftUILazyContainer",
      "product_memberships" : [
        "SwiftUILazyContainer"
      ],
      "sources" : [
        "API/LazyContainer.swift",
        "API/LazyLineSize.swift",
        "API/LazyMasonry/LazyHMasonry.swift",
        "API/LazyMasonry/LazyMasonry.swift",
        "API/LazyMasonry/LazyVMasonry.swift",
        "API/LazyStack/AltLazyHStack.swift",
        "API/LazyStack/AltLazyVStack.swift",
        "API/LazyStack/LazyStack.swift",
        "API/LazySubviewSize.swift",
        "API/LazySubviewTemplate.swift",
        "API/ResolvedLazySubviewSize.swift",
        "Examples/ExampleA.swift",
        "Examples/ExampleB.swift",
        "Examples/ExampleC.swift",
        "Examples/ExampleD.swift",
        "Internal/AnimatableEnvironment.swift",
        "Internal/Extensions.swift",
        "Internal/LazyContainerModifier.swift",
        "Internal/LazySubviewSizeProvider.swift",
        "Internal/LengthReader.swift",
        "Internal/Masonry/LazyMasonryLayout.swift",
        "Internal/Masonry/LazyMasonryModifier.swift",
        "Internal/Stack/LazyStackLayout.swift",
        "Internal/Stack/LazyStackModifier.swift",
        "Internal/VisibleElement.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Done.