Build Information
Failed to build Epoxy, reference 0.10.0 (fbcae5
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 15:57:33 UTC.
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/airbnb/epoxy-ios.git
Reference: 0.10.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/airbnb/epoxy-ios
* tag 0.10.0 -> FETCH_HEAD
HEAD is now at fbcae5c Add macOS and tvOS support to EpoxyCore (#143)
Cloned https://github.com/airbnb/epoxy-ios.git
Revision (git rev-parse @):
fbcae5c544c11206b00874fb1edcf986a4933e66
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/airbnb/epoxy-ios.git at 0.10.0
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
Fetching https://github.com/airbnb/swift
Fetching https://github.com/Quick/Quick.git
[1/455] Fetching cwlcatchexception
[156/4467] Fetching cwlcatchexception, swift
[317/5724] Fetching cwlcatchexception, swift, cwlpreconditiontesting
[2512/18119] Fetching cwlcatchexception, swift, cwlpreconditiontesting, swift-argument-parser
[3254/32859] Fetching cwlcatchexception, swift, cwlpreconditiontesting, swift-argument-parser, quick
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (1.59s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.59s)
Fetched https://github.com/Quick/Quick.git from cache (1.60s)
[2576/4467] Fetching cwlcatchexception, swift
[2577/23742] Fetching cwlcatchexception, swift, nimble
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.26s)
Fetched https://github.com/airbnb/swift from cache (2.26s)
[17541/19275] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.67s)
Computing version for https://github.com/airbnb/swift
Computed https://github.com/airbnb/swift at 1.0.3 (0.54s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.53s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.54s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.61s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.65s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.58s)
Creating working copy for https://github.com/airbnb/swift
Working copy of https://github.com/airbnb/swift resolved at 1.0.3
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.2.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
[16375/1928976] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
Downloading binary artifact https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip
[1945351/23623156] Downloading https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip, https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/calda/SwiftFormat/releases/download/0.51-beta-6/SwiftFormat.artifactbundle.zip (1.14s)
[7436992/21694180] Downloading https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloading binary artifact https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip
Downloaded https://github.com/realm/SwiftLint/releases/download/0.48.0/SwiftLintBinary-macos.artifactbundle.zip (1.85s)
========================================
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": "epoxy-ios",
"name": "Epoxy",
"url": "https://github.com/airbnb/epoxy-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/epoxy-ios",
"dependencies": [
]
}
]
}
Fetching https://github.com/airbnb/epoxy-ios.git
[1/8314] Fetching epoxy-ios
Fetched https://github.com/airbnb/epoxy-ios.git from cache (1.33s)
Creating working copy for https://github.com/airbnb/epoxy-ios.git
Working copy of https://github.com/airbnb/epoxy-ios.git resolved at 0.10.0 (fbcae5c)
warning: '.resolve-product-dependencies': dependency 'epoxy-ios' 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/airbnb/epoxy-ios.git
{
"dependencies" : [
{
"identity" : "quick",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Quick.git"
},
{
"identity" : "nimble",
"requirement" : {
"range" : [
{
"lower_bound" : "9.0.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Quick/Nimble.git"
},
{
"identity" : "swift",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/airbnb/swift"
}
],
"manifest_display_name" : "Epoxy",
"name" : "Epoxy",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Epoxy",
"targets" : [
"Epoxy"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyCore",
"targets" : [
"EpoxyCore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyCollectionView",
"targets" : [
"EpoxyCollectionView"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyBars",
"targets" : [
"EpoxyBars"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyNavigationController",
"targets" : [
"EpoxyNavigationController"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyPresentations",
"targets" : [
"EpoxyPresentations"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "EpoxyLayoutGroups",
"targets" : [
"EpoxyLayoutGroups"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PerformanceTests",
"module_type" : "SwiftTarget",
"name" : "PerformanceTests",
"path" : "Tests/PerformanceTests",
"sources" : [
"CollectionDiffPerformanceTestCase.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "test"
},
{
"c99name" : "EpoxyTests",
"module_type" : "SwiftTarget",
"name" : "EpoxyTests",
"path" : "Tests/EpoxyTests",
"product_dependencies" : [
"Quick",
"Nimble"
],
"sources" : [
"BarsTests/BarStackViewSpec.swift",
"BarsTests/BaseBarInstallerSpec.swift",
"BarsTests/BottomBarInstallerSpec.swift",
"BarsTests/SafeAreaWindow.swift",
"BarsTests/StaticHeightBar.swift",
"BarsTests/TopBarInstallerSpec.swift",
"CollectionViewTests/CollectionViewSpec.swift",
"CollectionViewTests/FlowLayoutTests.swift",
"CollectionViewTests/ProxyDelegate.swift",
"CollectionViewTests/ReuseIDStoreTests.swift",
"CoreTests/CollectionDiffSpec.swift",
"CoreTests/EpoxyModelBuilderArraySpec.swift",
"CoreTests/EpoxyModeledSpec.swift",
"LayoutGroupsTests/ConstrainableContainerSpec.swift",
"LayoutGroupsTests/GroupItemSpec.swift",
"LayoutGroupsTests/GroupPerformanceTests.swift",
"LayoutGroupsTests/HGroupItemSpec.swift",
"LayoutGroupsTests/HGroupSpec.swift",
"LayoutGroupsTests/TestHelpers.swift",
"LayoutGroupsTests/VGroupItemSpec.swift",
"LayoutGroupsTests/VGroupSpec.swift",
"NavigationControllerTests/NavigationQueueSpec.swift",
"NavigationControllerTests/StubTransitionCoordinator.swift",
"PresentationsTests/PresentationModelBuilderSpec.swift",
"PresentationsTests/PresentationQueueSpec.swift"
],
"target_dependencies" : [
"Epoxy"
],
"type" : "test"
},
{
"c99name" : "EpoxyPresentations",
"module_type" : "SwiftTarget",
"name" : "EpoxyPresentations",
"path" : "Sources/EpoxyPresentations",
"product_memberships" : [
"Epoxy",
"EpoxyPresentations"
],
"sources" : [
"PresentationModel.swift",
"PresentationModelBuilder.swift",
"PresentationModelProviding.swift",
"PresentationQueue.swift",
"UIViewController+PresentationModel.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "library"
},
{
"c99name" : "EpoxyNavigationController",
"module_type" : "SwiftTarget",
"name" : "EpoxyNavigationController",
"path" : "Sources/EpoxyNavigationController",
"product_memberships" : [
"Epoxy",
"EpoxyNavigationController"
],
"sources" : [
"NavigationController.swift",
"NavigationModel.swift",
"NavigationModelBuilder.swift",
"NavigationQueue.swift",
"StackProviding.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "library"
},
{
"c99name" : "EpoxyLayoutGroups",
"module_type" : "SwiftTarget",
"name" : "EpoxyLayoutGroups",
"path" : "Sources/EpoxyLayoutGroups",
"product_memberships" : [
"Epoxy",
"EpoxyLayoutGroups"
],
"sources" : [
"Constrainable/AnchoringContainer.swift",
"Constrainable/Constrainable.swift",
"Constrainable/ConstrainableContainer.swift",
"Constraints/GroupConstraints.swift",
"Constraints/HGroupConstraints.swift",
"Constraints/VGroupConstraints.swift",
"Extensions/EpoxyableView+GroupItem.swift",
"Extensions/NSLayoutConstraint+Optional.swift",
"Groups/Group.swift",
"Groups/HGroup.swift",
"Groups/HGroupItemAlignment.swift",
"Groups/LayoutSpacer.swift",
"Groups/VGroup.swift",
"Groups/VGroupItemAlignment.swift",
"Models/AnyGroupItem.swift",
"Models/GroupItem.swift",
"Models/GroupItemModeling.swift",
"Models/GroupModelBuilder.swift",
"Models/HGroupItem.swift",
"Models/InternalGroupItemModeling.swift",
"Models/SpacerItem.swift",
"Models/StaticGroupItem.swift",
"Models/VGroupItem.swift",
"Providers/AccessibilityAlignmentProviding.swift",
"Providers/GroupItemsProviding.swift",
"Providers/HorizontalAlignmentProviding.swift",
"Providers/MakeConstrainableProviding.swift",
"Providers/PaddingProviding.swift",
"Providers/ReflowsForAccessibilityTypeSizeProviding.swift",
"Providers/VerticalAlignmentProviding.swift",
"Types/GroupEdgeInsets.swift",
"Types/LayoutGroupUpdateAnimation.swift",
"Views/HGroupView.swift",
"Views/VGroupView.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "library"
},
{
"c99name" : "EpoxyCore",
"module_type" : "SwiftTarget",
"name" : "EpoxyCore",
"path" : "Sources/EpoxyCore",
"product_memberships" : [
"Epoxy",
"EpoxyCore",
"EpoxyCollectionView",
"EpoxyBars",
"EpoxyNavigationController",
"EpoxyPresentations",
"EpoxyLayoutGroups"
],
"sources" : [
"Diffing/Collection+Diff.swift",
"Diffing/Diffable.swift",
"Diffing/DiffableSection.swift",
"Diffing/IndexChangeset.swift",
"Diffing/SectionedChangeset.swift",
"Logging/EpoxyLogger.swift",
"Model/CallbackContextEpoxyModeled.swift",
"Model/EpoxyModelArrayBuilder.swift",
"Model/EpoxyModelProperty.swift",
"Model/EpoxyModelStorage.swift",
"Model/EpoxyModeled.swift",
"Model/Internal/AnyEpoxyModelProperty.swift",
"Model/Internal/ClassReference.swift",
"Model/Providers/AnimatedProviding.swift",
"Model/Providers/DataIDProviding.swift",
"Model/Providers/DidDisplayProviding.swift",
"Model/Providers/DidEndDisplayingProviding.swift",
"Model/Providers/DidSelectProviding.swift",
"Model/Providers/ErasedContentProviding.swift",
"Model/Providers/MakeViewProviding.swift",
"Model/Providers/SetBehaviorsProviding.swift",
"Model/Providers/SetContentProviding.swift",
"Model/Providers/StyleIDProviding.swift",
"Model/Providers/TraitCollectionProviding.swift",
"Model/Providers/ViewDifferentiatorProviding.swift",
"Model/Providers/ViewProviding.swift",
"Model/Providers/WillDisplayProviding.swift",
"Model/ViewEpoxyModeled.swift",
"SwiftUI/EpoxySwiftUIHostingController.swift",
"SwiftUI/EpoxySwiftUIHostingView.swift",
"SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift",
"SwiftUI/EpoxySwiftUILayoutMargins.swift",
"SwiftUI/EpoxyableView+SwiftUIView.swift",
"SwiftUI/LayoutUtilities/MeasuringViewRepresentable.swift",
"SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift",
"SwiftUI/SwiftUIView.swift",
"SwiftUI/UIView+SwiftUIView.swift",
"SwiftUI/UIViewConfiguringSwiftUIView.swift",
"Views/BehaviorsConfigurableView.swift",
"Views/ContentConfigurableView.swift",
"Views/EpoxyableView.swift",
"Views/StyledView.swift",
"Views/ViewType.swift"
],
"type" : "library"
},
{
"c99name" : "EpoxyCollectionView",
"module_type" : "SwiftTarget",
"name" : "EpoxyCollectionView",
"path" : "Sources/EpoxyCollectionView",
"product_memberships" : [
"Epoxy",
"EpoxyCollectionView"
],
"sources" : [
"CollectionView/CollectionView.swift",
"CollectionView/CollectionViewConfiguration.swift",
"CollectionView/CollectionViewVisibilityMetadata.swift",
"CollectionView/Delegates/CollectionViewAccessibilityDelegate.swift",
"CollectionView/Delegates/CollectionViewDisplayDelegate.swift",
"CollectionView/Delegates/CollectionViewPrefetchingDelegate.swift",
"CollectionView/Delegates/CollectionViewReorderingDelegate.swift",
"CollectionView/Delegates/CollectionViewTransitionLayoutDelegate.swift",
"CollectionView/Internal/CollectionViewChangeset.swift",
"CollectionView/Internal/CollectionViewData.swift",
"CollectionView/Internal/CollectionViewDataSource.swift",
"CollectionView/Internal/CollectionViewDataSourceReorderingDelegate.swift",
"CollectionView/Internal/CollectionViewScrollToItemHelper.swift",
"CollectionView/Internal/ReuseIDStore.swift",
"CollectionView/ItemPath.swift",
"CollectionView/ReusableViews/CollectionViewCell.swift",
"CollectionView/ReusableViews/CollectionViewReusableView.swift",
"CollectionView/ReusableViews/FittingPrioritiesProvidingLayoutAttributes.swift",
"CollectionView/ReusableViews/Internal/CollectionViewCellAccessibilityDelegate.swift",
"CollectionView/ReusableViews/ItemCellView.swift",
"CollectionView/ReusableViews/ItemSelectionStyle.swift",
"Layouts/CompositionalLayout/SectionModel+CompositionalLayout.swift",
"Layouts/CompositionalLayout/UICollectionViewCompositionalLayout+Epoxy.swift",
"Layouts/FlowLayout/CollectionView+UICollectionViewFlowLayoutDelegate.swift",
"Layouts/FlowLayout/EpoxyModeled+UICollectionViewFlowLayout.swift",
"Models/ItemModel/AnyItemModel.swift",
"Models/ItemModel/EpoxyableView+ItemModel.swift",
"Models/ItemModel/ItemCellMetadata.swift",
"Models/ItemModel/ItemCellState.swift",
"Models/ItemModel/ItemModel.swift",
"Models/ItemModel/ItemModelBuilder.swift",
"Models/ItemModel/ItemModeling.swift",
"Models/ItemModel/SwiftUI.View+ItemModel.swift",
"Models/Providers/DidChangeStateProviding.swift",
"Models/Providers/IsMoveableProviding.swift",
"Models/Providers/ItemsProviding.swift",
"Models/Providers/SelectionStyleProviding.swift",
"Models/Providers/SupplementaryItemsProviding.swift",
"Models/SectionModel/SectionModel+ReuseIDs.swift",
"Models/SectionModel/SectionModel.swift",
"Models/SectionModel/SectionModelBuilder.swift",
"Models/SupplementaryItemModel/AnySupplementaryItemModel.swift",
"Models/SupplementaryItemModel/EpoxyableView+SupplementaryItemModel.swift",
"Models/SupplementaryItemModel/SupplementaryItemModel.swift",
"Models/SupplementaryItemModel/SupplementaryItemModeling.swift",
"Models/SupplementaryItemModel/SwiftUI.View+SupplementaryItemModel.swift",
"ViewControllers/CollectionViewController.swift",
"Views/AccessibilityCustomizedView.swift",
"Views/DisplayRespondingView.swift",
"Views/EphemeralCachedStateView.swift",
"Views/HighlightableView.swift",
"Views/SelectableView.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "library"
},
{
"c99name" : "EpoxyBars",
"module_type" : "SwiftTarget",
"name" : "EpoxyBars",
"path" : "Sources/EpoxyBars",
"product_memberships" : [
"Epoxy",
"EpoxyBars"
],
"sources" : [
"BarCoordinator/BarCoordinating.swift",
"BarCoordinator/BarCoordinatorProperty.swift",
"BarCoordinator/CoordinatedBarModel.swift",
"BarInstaller/BarContainer.swift",
"BarInstaller/BarInstaller.swift",
"BarInstaller/BarInstallerConfiguration.swift",
"BarInstaller/BarStackView.swift",
"BarInstaller/BarWrapperView.swift",
"BarInstaller/UIScrollView+ContentOffset.swift",
"BarInstaller/UIView+HasHierarchyScaleTransform.swift",
"BarInstaller/UIViewController+OriginalSafeAreaInsets.swift",
"BarModel/AnyBarModel.swift",
"BarModel/BarModel.swift",
"BarModel/BarModelBuilder.swift",
"BarModel/BarModeling.swift",
"BarModel/EpoxyableView+BarModel.swift",
"BarModel/InternalBarModeling.swift",
"BarModel/SwiftUI.View+BarModel.swift",
"BarView/HeightInvalidatingBarView.swift",
"BarView/SafeAreaLayoutMarginsBarView.swift",
"BottomBarInstaller/BottomBarContainer.swift",
"BottomBarInstaller/BottomBarInstaller.swift",
"BottomBarInstaller/BottomBarsProviding.swift",
"Keyboard/InputAccessoryBarStackView.swift",
"Keyboard/KeyboardPositionWatcher.swift",
"TopBarInstaller/TopBarContainer.swift",
"TopBarInstaller/TopBarInstaller.swift",
"TopBarInstaller/TopBarsProviding.swift"
],
"target_dependencies" : [
"EpoxyCore"
],
"type" : "library"
},
{
"c99name" : "Epoxy",
"module_type" : "SwiftTarget",
"name" : "Epoxy",
"path" : "Sources/Epoxy",
"product_memberships" : [
"Epoxy"
],
"sources" : [
"Exports.swift"
],
"target_dependencies" : [
"EpoxyCore",
"EpoxyCollectionView",
"EpoxyBars",
"EpoxyNavigationController",
"EpoxyPresentations",
"EpoxyLayoutGroups"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
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
[1/1] Compiling plugin FormatSwift
[2/2] Compiling plugin Generate Manual
Building for debugging...
[2/10] Write sources
[9/10] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/50] Emitting module EpoxyCore
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' 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
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:14:15: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | /// Includes an optional generic `Storage` value, which can be used to compare old and new values
13 | /// across state changes to prevent redundant view updates.
14 | public struct SwiftUIView<Content: ViewType, Storage>: MeasuringViewRepresentable,
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing generic struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
15 | UIViewConfiguringSwiftUIView
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[12/54] Compiling EpoxyCore EpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[13/54] Compiling EpoxyCore AnyEpoxyModelProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[14/54] Compiling EpoxyCore ClassReference.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[15/54] Compiling EpoxyCore AnimatedProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[16/54] Compiling EpoxyCore DataIDProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[17/54] Compiling EpoxyCore TraitCollectionProviding.swift
[18/54] Compiling EpoxyCore ViewDifferentiatorProviding.swift
[19/54] Compiling EpoxyCore ViewProviding.swift
[20/54] Compiling EpoxyCore WillDisplayProviding.swift
[21/54] Compiling EpoxyCore DidDisplayProviding.swift
[22/54] Compiling EpoxyCore DidEndDisplayingProviding.swift
[23/54] Compiling EpoxyCore DidSelectProviding.swift
[24/54] Compiling EpoxyCore ErasedContentProviding.swift
[25/54] Compiling EpoxyCore Collection+Diff.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[26/54] Compiling EpoxyCore Diffable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[27/54] Compiling EpoxyCore DiffableSection.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[28/54] Compiling EpoxyCore IndexChangeset.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[29/54] Compiling EpoxyCore SectionedChangeset.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[30/54] Compiling EpoxyCore ViewEpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' 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
43 | }
44 |
[31/54] Compiling EpoxyCore EpoxySwiftUIHostingController.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' 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
43 | }
44 |
[32/54] Compiling EpoxyCore EpoxySwiftUIHostingView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' 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
43 | }
44 |
[33/54] Compiling EpoxyCore EpoxySwiftUIIntrinsicContentSizeInvalidator.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:31:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
29 | // MARK: - EnvironmentValues
30 |
31 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
32 | /// A means of invalidating the intrinsic content size of the parent `EpoxySwiftUIHostingView`.
33 | public var epoxyIntrinsicContentSizeInvalidator: EpoxyIntrinsicContentSizeInvalidator {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUIIntrinsicContentSizeInvalidator.swift:42:14: warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' may have shared mutable state; this is an error in the Swift 6 language mode
19 | /// }
20 | /// ```
21 | public struct EpoxyIntrinsicContentSizeInvalidator {
| `- note: consider making struct 'EpoxyIntrinsicContentSizeInvalidator' conform to the 'Sendable' protocol
22 | let invalidate: () -> Void
23 |
:
40 |
41 | private struct EpoxyIntrinsicContentSizeInvalidatorKey: EnvironmentKey {
42 | static let defaultValue = EpoxyIntrinsicContentSizeInvalidator(invalidate: { })
| |- warning: static property 'defaultValue' is not concurrency-safe because non-'Sendable' type 'EpoxyIntrinsicContentSizeInvalidator' 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
43 | }
44 |
[34/54] Compiling EpoxyCore MakeViewProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 | @available(macOS 10.14, *)
353 | open func viewDidChangeEffectiveAppearance()
354 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
[35/54] Compiling EpoxyCore SetBehaviorsProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 | @available(macOS 10.14, *)
353 | open func viewDidChangeEffectiveAppearance()
354 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
[36/54] Compiling EpoxyCore SetContentProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 | @available(macOS 10.14, *)
353 | open func viewDidChangeEffectiveAppearance()
354 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
[37/54] Compiling EpoxyCore StyleIDProviding.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: converting function value of type '@MainActor @Sendable () -> Self.View' to 'Self.MakeView' (aka '() -> Self.View') loses global actor 'MainActor'; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Model/Providers/MakeViewProviding.swift:57:21: warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
55 | .init(
56 | keyPath: \Self.makeView,
57 | defaultValue: View.init,
| `- warning: call to main actor-isolated initializer 'init()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
58 | updateStrategy: .replace)
59 | }
AppKit.NSView:354:35: note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
352 | @available(macOS 10.14, *)
353 | open func viewDidChangeEffectiveAppearance()
354 | @MainActor public convenience init()
| `- note: calls to initializer 'init()' from outside of its actor context are implicitly asynchronous
355 | @available(macOS 10.5, *)
356 | open var animations: [NSAnimatablePropertyKey : Any] { get set }
[38/54] Compiling EpoxyCore SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:14:15: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | /// Includes an optional generic `Storage` value, which can be used to compare old and new values
13 | /// across state changes to prevent redundant view updates.
14 | public struct SwiftUIView<Content: ViewType, Storage>: MeasuringViewRepresentable,
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing generic struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
15 | UIViewConfiguringSwiftUIView
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext:8:43: note: property declared here
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
| `- note: property declared here
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[39/54] Compiling EpoxyCore UIView+SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:14:15: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | /// Includes an optional generic `Storage` value, which can be used to compare old and new values
13 | /// across state changes to prevent redundant view updates.
14 | public struct SwiftUIView<Content: ViewType, Storage>: MeasuringViewRepresentable,
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing generic struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
15 | UIViewConfiguringSwiftUIView
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext:8:43: note: property declared here
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
| `- note: property declared here
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[40/54] Compiling EpoxyCore UIViewConfiguringSwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:14:15: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | /// Includes an optional generic `Storage` value, which can be used to compare old and new values
13 | /// across state changes to prevent redundant view updates.
14 | public struct SwiftUIView<Content: ViewType, Storage>: MeasuringViewRepresentable,
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing generic struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
15 | UIViewConfiguringSwiftUIView
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext:8:43: note: property declared here
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
| `- note: property declared here
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[41/54] Compiling EpoxyCore BehaviorsConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:14:15: warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
12 | /// Includes an optional generic `Storage` value, which can be used to compare old and new values
13 | /// across state changes to prevent redundant view updates.
14 | public struct SwiftUIView<Content: ViewType, Storage>: MeasuringViewRepresentable,
| |- warning: conformance of 'Never' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| |- note: add @available attribute to enclosing generic struct
| `- note: in associated type 'Self.Body' (inferred as 'Never')
15 | UIViewConfiguringSwiftUIView
16 | {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:116:23: warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
114 | /// Setting this to a new value updates the backing measurement container's `content`.
115 | public var view: Content {
116 | get { container.content }
| `- warning: main actor-isolated property 'content' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
117 | nonmutating set { container.content = newValue }
118 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: property declared here
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: property declared here
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:117:35: warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
115 | public var view: Content {
116 | get { container.content }
117 | nonmutating set { container.content = newValue }
| `- warning: main actor-isolated property 'content' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
118 | }
119 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:56:14: note: mutation of this property is only permitted within the actor
54 |
55 | /// The `UIView` content that's being measured by this container.
56 | public var content: Content {
| `- note: mutation of this property is only permitted within the actor
57 | didSet {
58 | guard content !== oldValue else { return }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:44: error: 'animation' is only available in macOS 10.15 or newer
99 | /// The configuration context that's available to configure the `Content` view whenever the
100 | /// `updateUIView()` method is invoked via a configuration closure.
101 | public struct ConfigurationContext: ViewProviding {
| `- note: add @available attribute to enclosing struct
102 | /// The previous value for the `Storage` of this `SwiftUIView`, which can be used to store
103 | /// values across state changes to prevent redundant view updates.
:
119 |
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
| `- note: add @available attribute to enclosing property
122 | viewRepresentableContext.transaction.animation != nil
| |- error: 'animation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
123 | }
124 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/SwiftUIView.swift:122:32: warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
120 | /// A convenience accessor indicating whether this content update should be animated.
121 | public var animated: Bool {
122 | viewRepresentableContext.transaction.animation != nil
| `- warning: main actor-isolated property 'transaction' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
123 | }
124 | }
SwiftUI.NSViewRepresentableContext:8:43: note: property declared here
6 | @MainActor @preconcurrency public struct NSViewRepresentableContext<View> where View : NSViewRepresentable {
7 | @MainActor @preconcurrency public let coordinator: View.Coordinator
8 | @MainActor @preconcurrency public var transaction: Transaction { get }
| `- note: property declared here
9 | @MainActor @preconcurrency public var environment: EnvironmentValues { get }
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/UIViewConfiguringSwiftUIView.swift:10:47: error: 'View' is only available in macOS 10.15 or newer
8 | /// A protocol describing a SwiftUI `View` that can configure its `UIView` content via an array of
9 | /// `configuration` closures.
10 | public protocol UIViewConfiguringSwiftUIView: View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing protocol
11 | /// The context available to this configuration, which provides the `UIView` instance at a minimum
12 | /// but can include additional context as needed.
[42/54] Compiling EpoxyCore EpoxyLogger.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[43/54] Compiling EpoxyCore CallbackContextEpoxyModeled.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[44/54] Compiling EpoxyCore EpoxyModelArrayBuilder.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[45/54] Compiling EpoxyCore EpoxyModelProperty.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[46/54] Compiling EpoxyCore EpoxyModelStorage.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Logging/EpoxyLogger.swift:63:21: warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | ///
62 | /// Set this to a new logger instance to intercept assertions and warnings logged by Epoxy.
63 | public static var shared = EpoxyLogger()
| |- warning: static property 'shared' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'shared' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'shared' 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
64 |
65 | /// Logs that an assertion occurred.
[47/54] Compiling EpoxyCore EpoxySwiftUILayoutMargins.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:27: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:63: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:448:32: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
450 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
[48/54] Compiling EpoxyCore EpoxyableView+SwiftUIView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:27: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:63: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:448:32: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
450 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
[49/54] Compiling EpoxyCore MeasuringViewRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:27: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:63: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:448:32: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
450 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
[50/54] Compiling EpoxyCore SwiftUIMeasurementContainer.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:16:44: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
18 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:8:11: error: 'View' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:25:34: error: 'EdgeInsets' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing property
26 | get { self[EpoxyLayoutMarginsKey.self] }
27 | set { self[EpoxyLayoutMarginsKey.self] = newValue }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:23:11: error: 'EnvironmentValues' is only available in macOS 10.15 or newer
21 | // MARK: - EnvironmentValues
22 |
23 | extension EnvironmentValues {
| | `- error: 'EnvironmentValues' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing extension
24 | /// The layout margins of the parent `EpoxySwiftUIHostingView`, else zero if there is none.
25 | public var epoxyLayoutMargins: EdgeInsets {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:34:29: error: 'EdgeInsets' is only available in macOS 10.15 or newer
31 | // MARK: - EpoxyLayoutMarginsKey
32 |
33 | private struct EpoxyLayoutMarginsKey: EnvironmentKey {
| `- note: add @available attribute to enclosing struct
34 | static let defaultValue = EdgeInsets()
| | `- error: 'EdgeInsets' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing static property
35 | }
36 |
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:42:4: error: 'Environment' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
| `- error: 'Environment' is only available in macOS 10.15 or newer
43 |
44 | func body(content: Content) -> some View {
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:44:39: error: 'View' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| | `- error: 'View' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
46 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- warning: conformance of 'ModifiedContent<Content, Modifier>' to 'View' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:17:5: error: 'modifier' is only available in macOS 10.15 or newer
6 | // MARK: - View
7 |
8 | extension View {
| `- note: add @available attribute to enclosing extension
9 | /// Applies the layout margins from the parent `EpoxySwiftUIHostingView` to this `View`, if there
10 | /// are any.
:
14 | ///
15 | /// These margins are propagated via the `EnvironmentValues.epoxyLayoutMargins`.
16 | public func epoxyLayoutMargins() -> some View {
| `- note: add @available attribute to enclosing instance method
17 | modifier(EpoxyLayoutMarginsPadding())
| |- error: 'modifier' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
18 | }
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/EpoxySwiftUILayoutMargins.swift:45:13: error: 'padding' is only available in macOS 10.15 or newer
39 | /// A view modifier that applies the layout margins from an enclosing `EpoxySwiftUIHostingView` to
40 | /// the modified `View`.
41 | private struct EpoxyLayoutMarginsPadding: ViewModifier {
| `- note: add @available attribute to enclosing struct
42 | @Environment(\.epoxyLayoutMargins) var epoxyLayoutMargins
43 |
44 | func body(content: Content) -> some View {
| `- note: add @available attribute to enclosing instance method
45 | content.padding(epoxyLayoutMargins)
| |- error: 'padding' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
46 | }
47 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:240:13: error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
238 | // equal to their intrinsic content size. These have to be disabled in favor of the constraints
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
| |- error: 'isVerticalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
241 | content.isHorizontalContentSizeConstraintActive = false
242 | #endif
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:241:13: error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
13 | ///
14 | /// - SeeAlso: ``MeasuringViewRepresentable``
15 | public final class SwiftUIMeasurementContainer<Content: ViewType>: ViewType {
| `- note: add @available attribute to enclosing generic class
16 |
17 | // MARK: Lifecycle
:
213 |
214 | /// Prioritizes the given constraints based on the provided resolved strategy.
215 | private func prioritizeConstraints(
| `- note: add @available attribute to enclosing instance method
216 | _ constraints: [NSLayoutConstraint.Attribute: NSLayoutConstraint],
217 | strategy: ResolvedSwiftUIMeasurementContainerStrategy)
:
239 | // we create here.
240 | content.isVerticalContentSizeConstraintActive = false
241 | content.isHorizontalContentSizeConstraintActive = false
| |- error: 'isHorizontalContentSizeConstraintActive' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
242 | #endif
243 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:27: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:441:63: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
439 | /// A `CGSize` with `noIntrinsicMetric` for both its width and height.
440 | fileprivate static var noIntrinsicMetric: CGSize {
441 | .init(width: ViewType.noIntrinsicMetric, height: ViewType.noIntrinsicMetric)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
442 | }
443 |
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:448:32: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
450 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/SwiftUI/LayoutUtilities/SwiftUIMeasurementContainer.swift:449:34: warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
444 | /// Returns a `CGSize` with its width and/or height replaced with the corresponding field of the
445 | /// provided `fallback` size if they are `UIView.noIntrinsicMetric`.
446 | fileprivate func replacingNoIntrinsicMetric(with fallback: CGSize) -> CGSize {
| `- note: add '@MainActor' to make instance method 'replacingNoIntrinsicMetric(with:)' part of global actor 'MainActor'
447 | .init(
448 | width: width == ViewType.noIntrinsicMetric ? fallback.width : width,
449 | height: height == ViewType.noIntrinsicMetric ? fallback.height : height)
| `- warning: main actor-isolated class property 'noIntrinsicMetric' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
450 | }
451 | }
AppKit.NSView:3:33: note: class property declared here
1 | extension NSView {
2 | @available(macOS 10.11, *)
3 | @MainActor public class let noIntrinsicMetric: CGFloat
| `- note: class property declared here
4 | }
[51/54] Compiling EpoxyCore ContentConfigurableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[52/54] Compiling EpoxyCore EpoxyableView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[53/54] Compiling EpoxyCore StyledView.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
[54/54] Compiling EpoxyCore ViewType.swift
/Users/admin/builder/spi-builder-workspace/Sources/EpoxyCore/Views/ViewType.swift:36:42: error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
34 | /// The platform's SwiftUI view representable type.
35 | /// Either `UIViewRepresentable` on iOS/tvOS, or `NSViewRepresentable` on macOS.
36 | public typealias ViewRepresentableType = NSViewRepresentable
| `- error: 'NSViewRepresentable' is only available in macOS 10.15 or newer
37 |
38 | /// The platform's layout constraint priority type.
BUILD FAILURE 6.0 macosSpm