Build Information
Failed to build WrkstrmKit, reference 0.1.0 (68d299
), with Swift 6.1 for macOS (SPM) on 29 Apr 2025 22:58:47 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wrkstrm/WrkstrmKit.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/wrkstrm/WrkstrmKit
* tag 0.1.0 -> FETCH_HEAD
HEAD is now at 68d2995 Add top controller to Kit.
Cloned https://github.com/wrkstrm/WrkstrmKit.git
Revision (git rev-parse @):
68d2995831acf69052f1ba975810b6d5e385ddfc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/wrkstrm/WrkstrmKit.git at 0.1.0
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/wrkstrm/WrkstrmKit.git
https://github.com/wrkstrm/WrkstrmKit.git
{
"dependencies" : [
{
"identity" : "wrkstrmfoundation",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/wrkstrm/WrkstrmFoundation.git"
},
{
"identity" : "wrkstrmlog",
"requirement" : {
"branch" : [
"main"
]
},
"type" : "sourceControl",
"url" : "https://github.com/wrkstrm/WrkstrmLog.git"
},
{
"identity" : "wrkstrmmain",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/wrkstrm/WrkstrmMain.git"
}
],
"manifest_display_name" : "WrkstrmKit",
"name" : "WrkstrmKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "16.0"
},
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "16.0"
},
{
"name" : "watchos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "WrkstrmCrossKit",
"targets" : [
"WrkstrmCrossKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WrkstrmKit",
"targets" : [
"WrkstrmKit"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WrkstrmSwiftUI",
"targets" : [
"WrkstrmSwiftUI"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "WrkstrmSwiftUIExp",
"targets" : [
"WrkstrmSwiftUIExp"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "WrkstrmSwiftUIExp",
"module_type" : "SwiftTarget",
"name" : "WrkstrmSwiftUIExp",
"path" : "Sources/WrkstrmSwiftUIExp",
"product_memberships" : [
"WrkstrmSwiftUIExp"
],
"sources" : [
"ActivityViewController.swift",
"InterpolatingView.swift",
"MapView.swift",
"PageControl.swift",
"PageViewController.swift",
"WebNavBarView.swift",
"WebView.swift"
],
"target_dependencies" : [
"WrkstrmSwiftUI",
"WrkstrmCrossKit"
],
"type" : "library"
},
{
"c99name" : "WrkstrmSwiftUI",
"module_type" : "SwiftTarget",
"name" : "WrkstrmSwiftUI",
"path" : "Sources/WrkstrmSwiftUI",
"product_memberships" : [
"WrkstrmSwiftUI",
"WrkstrmSwiftUIExp"
],
"sources" : [
"AnyTransition.swift",
"IndexedRow.swift",
"PreviewDevice.swift",
"UIImagePublisher.swift"
],
"type" : "library"
},
{
"c99name" : "WrkstrmKitTests",
"module_type" : "SwiftTarget",
"name" : "WrkstrmKitTests",
"path" : "Tests/WrkstrmKitTests",
"product_dependencies" : [
"WrkstrmFoundation",
"WrkstrmMain"
],
"sources" : [
"WrksrmKitTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"WrkstrmKit",
"WrkstrmCrossKit"
],
"type" : "test"
},
{
"c99name" : "WrkstrmKit",
"module_type" : "SwiftTarget",
"name" : "WrkstrmKit",
"path" : "Sources/WrkstrmKit",
"product_dependencies" : [
"WrkstrmFoundation",
"WrkstrmMain"
],
"product_memberships" : [
"WrkstrmKit"
],
"sources" : [
"Displayable/CollectionViewDisplayable/CollectionViewCell.swift",
"Displayable/CollectionViewDisplayable/CollectionViewController.swift",
"Displayable/CollectionViewDisplayable/CollectionViewDataSource.swift",
"Displayable/CollectionViewDisplayable/CollectionViewDisplayble.swift",
"Displayable/CollectionViewDisplayable/HostingCollectionViewCell.swift",
"Displayable/CollectionViewDisplayable/UICollectionReusableView+ReusableCell.swift",
"Displayable/CollectionViewDisplayable/UICollectionView+Registrar.swift",
"Displayable/CollectionViewDisplayable/UICollectionView+ReusableCell.swift",
"Displayable/Indexable.swift",
"Displayable/TableViewDisplayable/HostingTableViewCell.swift",
"Displayable/TableViewDisplayable/TableViewCell.swift",
"Displayable/TableViewDisplayable/TableViewController.swift",
"Displayable/TableViewDisplayable/TableViewDataSource.swift",
"Displayable/TableViewDisplayable/TableViewDisplayble.swift",
"Displayable/TableViewDisplayable/UITableView+Registrar.swift",
"Displayable/TableViewDisplayable/UITableView+ReusableCell.swift",
"Displayable/TableViewDisplayable/UITableViewCell+ReusableCell.swift",
"Extensions/CGRect+Intersecting.swift",
"Extensions/CGSize+Square.swift",
"Extensions/UIApplication+TopViewController.swift",
"Extensions/UIApplicationDelegate+LaunchOptions.swift",
"Extensions/UIContentSizeCategory+Extensions.swift",
"Extensions/UIImage+Utilities.swift",
"Extensions/UIStoryboard+UIViewController.swift",
"FontMetrics.swift",
"Instantiator.swift",
"JSON/JSON+TableViewCells.swift",
"JSON/JSON+TableViewDisplayable.swift",
"JSON/JSONTableViewController.swift",
"Log+WrkstrmKit.swift",
"SceneRoot.swift",
"StackViewController/StackViewController.swift",
"UIView/Animation.swift",
"UIView/CAGradientLayer+Utilities.swift",
"UIView/CallbackButton.swift",
"UIView/UIView+Animation.swift",
"UIView/UIView+Geometry.swift",
"UIView/UIView+Loading.swift",
"UIView/UIView+Pulse.swift"
],
"target_dependencies" : [
"WrkstrmCrossKit"
],
"type" : "library"
},
{
"c99name" : "WrkstrmCrossKit",
"module_type" : "SwiftTarget",
"name" : "WrkstrmCrossKit",
"path" : "Sources/WrkstrmCrossKit",
"product_dependencies" : [
"WrkstrmLog"
],
"product_memberships" : [
"WrkstrmCrossKit",
"WrkstrmKit",
"WrkstrmSwiftUIExp"
],
"sources" : [
"Displayable/Grid.swift",
"Displayable/Registrar.swift",
"Displayable/ReusableCell.swift",
"Displayable/ReusableItem.swift",
"Extensions/UIImate+SystemImages.swift",
"Screen.swift",
"View+Constraints.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
warning: 'spi-builder-workspace': ---- Wrkstrm Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmFoundation.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.branch("main")), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.branch("main")), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- Wrkstrm Deps ----
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/9] Write sources
[8/9] Write swift-version-2F0A5646E1D333AE.txt
[10/42] Compiling Logging Locks.swift
[11/42] Compiling Logging MetadataProvider.swift
[12/42] Compiling Logging LogHandler.swift
[13/42] Compiling Logging Logging.swift
[14/42] Emitting module Logging
[15/48] Emitting module WrkstrmMain
[16/50] Compiling WrkstrmMain UInt+BitSetting.swift
[17/50] Compiling WrkstrmMain JSON.swift
[18/50] Compiling WrkstrmMain CommandLine+Executable.swift
[19/50] Compiling WrkstrmMain Optional+Comparable.swift
[20/50] Compiling WrkstrmMain Optional+Flatten.swift
[21/50] Compiling WrkstrmMain Injectable.swift
[22/50] Compiling WrkstrmMain Result.swift
[23/50] Compiling WrkstrmLog Level+Emoji.swift
[24/50] Emitting module WrkstrmLog
[25/50] Compiling WrkstrmLog Log+Shared.swift
[26/50] Compiling WrkstrmLog Level+OSLogType.swift
[27/50] Compiling WrkstrmLog Log.swift
[28/50] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[29/50] Compiling WrkstrmMain Sequence+Unique.swift
[30/50] Compiling WrkstrmMain String+Contains.swift
[31/50] Compiling WrkstrmMain String+KebabCase.swift
[32/50] Compiling WrkstrmMain String+Source.swift
[33/50] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[34/50] Compiling WrkstrmMain Sequence+Decompose.swift
[35/50] Compiling WrkstrmMain String+Count.swift
[36/50] Compiling WrkstrmMain String+Error.swift
[37/50] Compiling WrkstrmMain SortEnum.swift
[38/50] Compiling WrkstrmMain IndexedCollection.swift
[39/50] Compiling WrkstrmMain SortedArray.swift
[40/50] Compiling WrkstrmMain BinaryTree.swift
[41/50] Compiling WrkstrmMain TreeClass.swift
[42/50] Compiling WrkstrmMain ListEnum.swift
[43/50] Compiling WrkstrmMain Array+Filter.swift
[44/50] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[45/50] Compiling WrkstrmMain Collection+Sorting.swift
[46/84] Compiling WrkstrmFoundation JSONResource.swift
[47/84] Compiling WrkstrmFoundation Bundle+Decode.swift
[48/86] Compiling WrkstrmFoundation String+Casing.swift
[49/86] Compiling WrkstrmFoundation String+Expanding.swift
[50/86] Compiling WrkstrmFoundation String+FileType.swift
[51/86] Compiling WrkstrmFoundation Date+Utilities.swift
[52/86] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[53/86] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
[54/86] Compiling WrkstrmFoundation Data+UTF8.swift
[55/86] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[56/86] Compiling WrkstrmFoundation Date+GitLog.swift
[57/86] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
[58/86] Compiling WrkstrmFoundation FileHandle+Standard.swift
[59/86] Compiling WrkstrmFoundation FileManager+Source.swift
[60/86] Compiling WrkstrmFoundation Log+Foundation.swift
[61/86] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
[62/86] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[63/86] Emitting module WrkstrmFoundation
[64/86] Compiling WrkstrmFoundation Calendar.swift
[65/86] Compiling WrkstrmFoundation Event.swift
[66/86] Compiling WrkstrmFoundation Bundle+Version.swift
[67/86] Compiling WrkstrmFoundation JSONCoders.swift
[68/86] Compiling WrkstrmFoundation JSONEnums.swift
[69/86] Compiling WrkstrmFoundation String+Stats.swift
[70/86] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[71/86] Compiling WrkstrmFoundation HTTP.swift
[72/86] Compiling WrkstrmFoundation CodableArchiver.swift
[73/86] Compiling WrkstrmFoundation SecurityScopedAsset.swift
[74/86] Compiling WrkstrmCrossKit ReusableItem.swift
[75/86] Emitting module WrkstrmCrossKit
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:14:16: warning: static property 'constraintCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension View {
13 | private enum AssociatedKey {
14 | static var constraintCache = "wsm_constraintCache"
| |- warning: static property 'constraintCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'constraintCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
[76/86] Compiling WrkstrmCrossKit Registrar.swift
[77/86] Compiling WrkstrmCrossKit Grid.swift
[78/86] Compiling WrkstrmCrossKit ReusableCell.swift
[79/86] Compiling WrkstrmCrossKit UIImate+SystemImages.swift
[80/86] Compiling WrkstrmCrossKit View+Constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:14:16: warning: static property 'constraintCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
12 | extension View {
13 | private enum AssociatedKey {
14 | static var constraintCache = "wsm_constraintCache"
| |- warning: static property 'constraintCache' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'constraintCache' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'constraintCache' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | }
16 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:105:16: warning: expression took 10ms to type-check (limit: 10ms)
103 |
104 | var centerPoint: CGPoint {
105 | CGPoint(x: (frame.origin.x + frame.size.width) / 2, y: (frame.origin.y + frame.size.height) / 2)
| `- warning: expression took 10ms to type-check (limit: 10ms)
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:30:11: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
28 | objc_setAssociatedObject(
29 | self,
30 | &AssociatedKey.constraintCache,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
31 | cache,
32 | .OBJC_ASSOCIATION_RETAIN_NONATOMIC
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:24:11: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | let cache = objc_getAssociatedObject(
23 | self,
24 | &AssociatedKey.constraintCache
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
25 | ) as? ConstraintCache
26 | else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:41:9: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
39 | objc_setAssociatedObject(
40 | self,
41 | &AssociatedKey.constraintCache,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
42 | newValue,
43 | .OBJC_ASSOCIATION_RETAIN_NONATOMIC
[81/86] Compiling WrkstrmCrossKit Screen.swift
[82/123] Compiling WrkstrmSwiftUI UIImagePublisher.swift
[83/123] Compiling WrkstrmSwiftUI PreviewDevice.swift
[84/123] Compiling WrkstrmSwiftUI IndexedRow.swift
[85/123] Emitting module WrkstrmSwiftUI
[86/123] Compiling WrkstrmSwiftUI AnyTransition.swift
[87/131] Emitting module WrkstrmKit
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:4:14: warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Log {
4 | static let kit: Log = {
| `- warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
4 | static let kit: Log = {
| |- note: add '@MainActor' to make static property 'kit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
[88/134] Compiling WrkstrmKit JSONTableViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:4:14: warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Log {
4 | static let kit: Log = {
| `- warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
4 | static let kit: Log = {
| |- note: add '@MainActor' to make static property 'kit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
[89/134] Compiling WrkstrmKit Log+WrkstrmKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:4:14: warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Log {
4 | static let kit: Log = {
| `- warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
4 | static let kit: Log = {
| |- note: add '@MainActor' to make static property 'kit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
[90/134] Compiling WrkstrmKit SceneRoot.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:4:14: warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Log {
4 | static let kit: Log = {
| `- warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
4 | static let kit: Log = {
| |- note: add '@MainActor' to make static property 'kit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
[91/134] Compiling WrkstrmKit StackViewController.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:4:14: warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | extension Log {
4 | static let kit: Log = {
| `- warning: static property 'kit' is not concurrency-safe because non-'Sendable' type 'Log' may have shared mutable state; this is an error in the Swift 6 language mode
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
/Users/admin/builder/spi-builder-workspace/.build/checkouts/WrkstrmLog/Sources/WrkstrmLog/Log.swift:21:15: note: struct 'Log' does not conform to the 'Sendable' protocol
19 | /// logger.info("Network request started")
20 | /// ```
21 | public struct Log: Hashable {
| `- note: struct 'Log' does not conform to the 'Sendable' protocol
22 | /// Enum defining different logging styles.
23 | public enum Style {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmKit/Log+WrkstrmKit.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
1 | import WrkstrmLog
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'WrkstrmLog'
2 |
3 | extension Log {
4 | static let kit: Log = {
| |- note: add '@MainActor' to make static property 'kit' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
5 | var log = Log(system: "wrkstrm", category: "kit")
6 | log.maxFunctionLength = 25
[92/134] Compiling WrkstrmKit TableViewDataSource.swift
[93/134] Compiling WrkstrmKit TableViewDisplayble.swift
[94/134] Compiling WrkstrmKit UITableView+Registrar.swift
[95/134] Compiling WrkstrmKit UITableView+ReusableCell.swift
[96/134] Compiling WrkstrmKit CollectionViewCell.swift
[97/134] Compiling WrkstrmKit CollectionViewController.swift
[98/134] Compiling WrkstrmKit CollectionViewDataSource.swift
[99/134] Compiling WrkstrmKit CollectionViewDisplayble.swift
[100/134] Compiling WrkstrmKit UITableViewCell+ReusableCell.swift
[101/134] Compiling WrkstrmKit CGRect+Intersecting.swift
[102/134] Compiling WrkstrmKit CGSize+Square.swift
[103/134] Compiling WrkstrmKit UIApplication+TopViewController.swift
[104/134] Compiling WrkstrmKit Indexable.swift
[105/134] Compiling WrkstrmKit HostingTableViewCell.swift
[106/134] Compiling WrkstrmKit TableViewCell.swift
[107/134] Compiling WrkstrmKit TableViewController.swift
[108/134] Compiling WrkstrmKit UIApplicationDelegate+LaunchOptions.swift
[109/134] Compiling WrkstrmKit UIContentSizeCategory+Extensions.swift
[110/134] Compiling WrkstrmKit UIImage+Utilities.swift
[111/134] Compiling WrkstrmKit UIStoryboard+UIViewController.swift
[112/134] Compiling WrkstrmKit FontMetrics.swift
[113/134] Compiling WrkstrmKit Instantiator.swift
[114/134] Compiling WrkstrmKit JSON+TableViewCells.swift
[115/134] Compiling WrkstrmKit JSON+TableViewDisplayable.swift
[116/134] Compiling WrkstrmKit Animation.swift
[117/134] Compiling WrkstrmKit CAGradientLayer+Utilities.swift
[118/134] Compiling WrkstrmKit CallbackButton.swift
[119/134] Compiling WrkstrmKit UIView+Animation.swift
[120/134] Compiling WrkstrmKit HostingCollectionViewCell.swift
[121/134] Compiling WrkstrmKit UICollectionReusableView+ReusableCell.swift
[122/134] Compiling WrkstrmKit UICollectionView+Registrar.swift
[123/134] Compiling WrkstrmKit UICollectionView+ReusableCell.swift
[124/134] Compiling WrkstrmKit UIView+Geometry.swift
[125/134] Compiling WrkstrmKit UIView+Loading.swift
[126/134] Compiling WrkstrmKit UIView+Pulse.swift
[127/134] Compiling WrkstrmSwiftUIExp PageViewController.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[128/134] Compiling WrkstrmSwiftUIExp ActivityViewController.swift
[129/134] Emitting module WrkstrmSwiftUIExp
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:30:15: error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
28 |
29 | @available(macOS 10.15, *)
30 | public struct MapView: NSViewRepresentable {
| `- error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
31 | public var coordinate: CLLocationCoordinate2D
32 |
:
35 | }
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
| `- note: candidate can not infer 'NSViewType' = 'MapView' because 'MapView' is not a class type and so can't inherit from 'NSView'
38 | MKMapView(frame: .zero)
39 | }
SwiftUI.NSViewRepresentable.NSViewType:2:16: note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
1 | protocol NSViewRepresentable {
2 | associatedtype NSViewType : NSView}
| `- note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
3 |
[130/134] Compiling WrkstrmSwiftUIExp InterpolatingView.swift
[131/134] Compiling WrkstrmSwiftUIExp MapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:30:15: error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
28 |
29 | @available(macOS 10.15, *)
30 | public struct MapView: NSViewRepresentable {
| `- error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
31 | public var coordinate: CLLocationCoordinate2D
32 |
:
35 | }
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
| `- note: candidate can not infer 'NSViewType' = 'MapView' because 'MapView' is not a class type and so can't inherit from 'NSView'
38 | MKMapView(frame: .zero)
39 | }
SwiftUI.NSViewRepresentable.NSViewType:2:16: note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
1 | protocol NSViewRepresentable {
2 | associatedtype NSViewType : NSView}
| `- note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:38:5: error: cannot convert return expression of type 'MKMapView' to return type 'MapView'
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
38 | MKMapView(frame: .zero)
| `- error: cannot convert return expression of type 'MKMapView' to return type 'MapView'
39 | }
40 |
[132/134] Compiling WrkstrmSwiftUIExp WebNavBarView.swift
[133/134] Compiling WrkstrmSwiftUIExp PageControl.swift
[134/134] Compiling WrkstrmSwiftUIExp WebView.swift
warning: 'spi-builder-workspace': ---- Wrkstrm Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmFoundation.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.branch("main")), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.branch("main")), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- Wrkstrm Deps ----
Fetching https://github.com/wrkstrm/WrkstrmFoundation.git
[1/1883] Fetching wrkstrmfoundation
Fetched https://github.com/wrkstrm/WrkstrmFoundation.git from cache (0.96s)
warning: 'wrkstrmfoundation': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Fetching https://github.com/wrkstrm/WrkstrmLog.git
[1/874] Fetching wrkstrmlog
Fetched https://github.com/wrkstrm/WrkstrmLog.git from cache (0.89s)
Fetching https://github.com/wrkstrm/WrkstrmMain.git
Fetching https://github.com/apple/swift-log.git from cache
[1/838] Fetching wrkstrmmain
Fetched https://github.com/apple/swift-log.git from cache (0.65s)
Fetched https://github.com/wrkstrm/WrkstrmMain.git from cache (0.66s)
Computing version for https://github.com/wrkstrm/WrkstrmMain.git
Computed https://github.com/wrkstrm/WrkstrmMain.git at 1.0.0 (1.34s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.48s)
Creating working copy for https://github.com/wrkstrm/WrkstrmFoundation.git
Working copy of https://github.com/wrkstrm/WrkstrmFoundation.git resolved at main (59a16df)
Creating working copy for https://github.com/wrkstrm/WrkstrmMain.git
Working copy of https://github.com/wrkstrm/WrkstrmMain.git resolved at 1.0.0
Creating working copy for https://github.com/wrkstrm/WrkstrmLog.git
Working copy of https://github.com/wrkstrm/WrkstrmLog.git resolved at main (fac4567)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: 'wrkstrmfoundation': ---- ConfigurationService Deps ----
[PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmLog.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(0.4.0..<1.0.0))), PackageDescription.Package.Dependency.Kind.sourceControl(name: nil, location: "https://github.com/wrkstrm/WrkstrmMain.git", requirement: PackageDescription.Package.Dependency.SourceControlRequirement.range(Range(1.0.0..<2.0.0)))]
---- ConfigurationService Deps ----
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/34] Compiling Logging MetadataProvider.swift
[3/34] Compiling Logging LogHandler.swift
[4/34] Compiling Logging Locks.swift
[5/34] Emitting module Logging
[6/34] Compiling Logging Logging.swift
[7/34] Emitting module WrkstrmMain
[8/42] Compiling WrkstrmMain Sequence+Unique.swift
[9/42] Compiling WrkstrmMain String+Contains.swift
[10/42] Compiling WrkstrmMain String+Count.swift
[11/42] Compiling WrkstrmMain String+Error.swift
[12/42] Compiling WrkstrmMain String+KebabCase.swift
[13/42] Compiling WrkstrmMain String+Source.swift
[14/42] Compiling WrkstrmMain UInt+BitSetting.swift
[15/42] Compiling WrkstrmMain JSON.swift
[16/42] Compiling WrkstrmMain Array+Filter.swift
[17/42] Compiling WrkstrmMain ClosedRange+Magnitude.swift
[18/42] Compiling WrkstrmMain Collection+Sorting.swift
[19/42] Compiling WrkstrmMain RandomAccessCollection+IndexedCollection.swift
[20/42] Compiling WrkstrmMain Sequence+Decompose.swift
[21/42] Compiling WrkstrmMain CommandLine+Executable.swift
[22/42] Compiling WrkstrmMain Optional+Comparable.swift
[23/42] Compiling WrkstrmMain Optional+Flatten.swift
[24/42] Compiling WrkstrmMain BinaryTree.swift
[25/42] Compiling WrkstrmMain TreeClass.swift
[26/42] Compiling WrkstrmMain ListEnum.swift
[27/42] Compiling WrkstrmMain SortEnum.swift
[28/42] Compiling WrkstrmMain IndexedCollection.swift
[29/42] Compiling WrkstrmMain SortedArray.swift
[30/42] Compiling WrkstrmSwiftUI IndexedRow.swift
[31/42] Compiling WrkstrmSwiftUI PreviewDevice.swift
[32/42] Compiling WrkstrmMain Injectable.swift
[33/42] Compiling WrkstrmMain Result.swift
[34/42] Emitting module WrkstrmSwiftUI
[35/42] Compiling WrkstrmSwiftUI AnyTransition.swift
[36/42] Compiling WrkstrmSwiftUI UIImagePublisher.swift
[37/42] Compiling WrkstrmLog ProcessInfo+Xcode.swift
[38/42] Compiling WrkstrmLog Log+Shared.swift
[39/42] Compiling WrkstrmLog Level+OSLogType.swift
[40/42] Compiling WrkstrmLog Level+Emoji.swift
[41/42] Emitting module WrkstrmLog
[42/42] Compiling WrkstrmLog Log.swift
[43/76] Emitting module WrkstrmFoundation
[44/78] Compiling WrkstrmFoundation JSONResource.swift
[45/78] Compiling WrkstrmFoundation Bundle+Decode.swift
[46/78] Compiling WrkstrmFoundation Log+Foundation.swift
[47/78] Compiling WrkstrmFoundation NotificationCenter+Transformers.swift
[48/78] Compiling WrkstrmFoundation NumberFormatter+Localize.swift
[49/78] Compiling WrkstrmFoundation RelativeDateTimeFormatter+Date.swift
[50/78] Compiling WrkstrmFoundation FileHandle+Standard.swift
[51/78] Compiling WrkstrmFoundation FileManager+Source.swift
[52/78] Compiling WrkstrmFoundation Data+UTF8.swift
[53/78] Compiling WrkstrmFoundation Date+ExpressibleByIntegerLiteral.swift
[54/78] Compiling WrkstrmFoundation Date+GitLog.swift
[55/78] Compiling WrkstrmFoundation Date+Utilities.swift
[56/78] Compiling WrkstrmFoundation DateFormatter+Utilities.swift
[57/78] Compiling WrkstrmFoundation FoundationCalendar+Default.swift
[58/78] Compiling WrkstrmFoundation Calendar.swift
[59/78] Compiling WrkstrmFoundation Event.swift
[60/78] Compiling WrkstrmFoundation Bundle+Version.swift
[61/78] Compiling WrkstrmFoundation String+Casing.swift
[62/78] Compiling WrkstrmFoundation String+Expanding.swift
[63/78] Compiling WrkstrmFoundation String+FileType.swift
[64/78] Compiling WrkstrmFoundation String+Stats.swift
[65/78] Compiling WrkstrmFoundation URL+URLQueryItem.swift
[66/78] Compiling WrkstrmFoundation HTTP.swift
[67/78] Compiling WrkstrmFoundation JSONCoders.swift
[68/78] Compiling WrkstrmFoundation JSONEnums.swift
[69/78] Compiling WrkstrmCrossKit Screen.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/Screen.swift:17:12: warning: expression took 10ms to type-check (limit: 10ms)
15 | return 1 / Screen.main.scale
16 | #elseif os(OSX)
17 | return 1 / (Screen.main?.backingScaleFactor ?? 1)
| `- warning: expression took 10ms to type-check (limit: 10ms)
18 | #endif
19 | }
[70/78] Compiling WrkstrmCrossKit UIImate+SystemImages.swift
[71/78] Compiling WrkstrmCrossKit ReusableItem.swift
[72/78] Compiling WrkstrmCrossKit Registrar.swift
[73/78] Compiling WrkstrmCrossKit ReusableCell.swift
[74/78] Emitting module WrkstrmCrossKit
[75/78] Compiling WrkstrmCrossKit Grid.swift
[76/78] Compiling WrkstrmCrossKit View+Constraints.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:105:16: warning: expression took 10ms to type-check (limit: 10ms)
103 |
104 | var centerPoint: CGPoint {
105 | CGPoint(x: (frame.origin.x + frame.size.width) / 2, y: (frame.origin.y + frame.size.height) / 2)
| `- warning: expression took 10ms to type-check (limit: 10ms)
106 | }
107 | }
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:30:11: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
28 | objc_setAssociatedObject(
29 | self,
30 | &AssociatedKey.constraintCache,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
31 | cache,
32 | .OBJC_ASSOCIATION_RETAIN_NONATOMIC
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:24:11: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
22 | let cache = objc_getAssociatedObject(
23 | self,
24 | &AssociatedKey.constraintCache
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
25 | ) as? ConstraintCache
26 | else {
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmCrossKit/View+Constraints.swift:41:9: warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
39 | objc_setAssociatedObject(
40 | self,
41 | &AssociatedKey.constraintCache,
| `- warning: forming 'UnsafeRawPointer' to an inout variable of type String exposes the internal representation rather than the string contents.
42 | newValue,
43 | .OBJC_ASSOCIATION_RETAIN_NONATOMIC
[77/78] Compiling WrkstrmFoundation CodableArchiver.swift
[78/78] Compiling WrkstrmFoundation SecurityScopedAsset.swift
[79/123] Emitting module WrkstrmKit
[80/126] Compiling WrkstrmKit HostingCollectionViewCell.swift
[81/126] Compiling WrkstrmKit UICollectionReusableView+ReusableCell.swift
[82/126] Compiling WrkstrmKit UICollectionView+Registrar.swift
[83/126] Compiling WrkstrmKit UICollectionView+ReusableCell.swift
[84/126] Compiling WrkstrmKit CollectionViewCell.swift
[85/126] Compiling WrkstrmKit CollectionViewController.swift
[86/126] Compiling WrkstrmKit CollectionViewDataSource.swift
[87/126] Compiling WrkstrmKit CollectionViewDisplayble.swift
[88/126] Compiling WrkstrmKit UIApplicationDelegate+LaunchOptions.swift
[89/126] Compiling WrkstrmKit UIContentSizeCategory+Extensions.swift
[90/126] Compiling WrkstrmKit UIImage+Utilities.swift
[91/126] Compiling WrkstrmKit UIStoryboard+UIViewController.swift
[92/126] Compiling WrkstrmKit Indexable.swift
[93/126] Compiling WrkstrmKit HostingTableViewCell.swift
[94/126] Compiling WrkstrmKit TableViewCell.swift
[95/126] Compiling WrkstrmKit TableViewController.swift
[96/126] Compiling WrkstrmKit TableViewDataSource.swift
[97/126] Compiling WrkstrmKit TableViewDisplayble.swift
[98/126] Compiling WrkstrmKit UITableView+Registrar.swift
[99/126] Compiling WrkstrmKit UITableView+ReusableCell.swift
[100/126] Compiling WrkstrmKit JSONTableViewController.swift
[101/126] Compiling WrkstrmKit Log+WrkstrmKit.swift
[102/126] Compiling WrkstrmKit SceneRoot.swift
[103/126] Compiling WrkstrmKit StackViewController.swift
[104/126] Compiling WrkstrmKit FontMetrics.swift
[105/126] Compiling WrkstrmKit Instantiator.swift
[106/126] Compiling WrkstrmKit JSON+TableViewCells.swift
[107/126] Compiling WrkstrmKit JSON+TableViewDisplayable.swift
[108/126] Compiling WrkstrmKit UITableViewCell+ReusableCell.swift
[109/126] Compiling WrkstrmKit CGRect+Intersecting.swift
[110/126] Compiling WrkstrmKit CGSize+Square.swift
[111/126] Compiling WrkstrmKit UIApplication+TopViewController.swift
[112/126] Compiling WrkstrmKit Animation.swift
[113/126] Compiling WrkstrmKit CAGradientLayer+Utilities.swift
[114/126] Compiling WrkstrmKit CallbackButton.swift
[115/126] Compiling WrkstrmKit UIView+Animation.swift
[116/126] Compiling WrkstrmSwiftUIExp WebView.swift
[117/126] Compiling WrkstrmSwiftUIExp MapView.swift
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:30:15: error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
28 |
29 | @available(macOS 10.15, *)
30 | public struct MapView: NSViewRepresentable {
| `- error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
31 | public var coordinate: CLLocationCoordinate2D
32 |
:
35 | }
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
| `- note: candidate can not infer 'NSViewType' = 'MapView' because 'MapView' is not a class type and so can't inherit from 'NSView'
38 | MKMapView(frame: .zero)
39 | }
SwiftUI.NSViewRepresentable.NSViewType:2:16: note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
1 | protocol NSViewRepresentable {
2 | associatedtype NSViewType : NSView}
| `- note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
3 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:38:5: error: cannot convert return expression of type 'MKMapView' to return type 'MapView'
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
38 | MKMapView(frame: .zero)
| `- error: cannot convert return expression of type 'MKMapView' to return type 'MapView'
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:38:5: warning: expression took 10ms to type-check (limit: 10ms)
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
38 | MKMapView(frame: .zero)
| `- warning: expression took 10ms to type-check (limit: 10ms)
39 | }
40 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/126] Compiling WrkstrmSwiftUIExp ActivityViewController.swift
[119/126] Compiling WrkstrmSwiftUIExp InterpolatingView.swift
[120/126] Emitting module WrkstrmSwiftUIExp
/Users/admin/builder/spi-builder-workspace/Sources/WrkstrmSwiftUIExp/MapView.swift:30:15: error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
28 |
29 | @available(macOS 10.15, *)
30 | public struct MapView: NSViewRepresentable {
| `- error: type 'MapView' does not conform to protocol 'NSViewRepresentable'
31 | public var coordinate: CLLocationCoordinate2D
32 |
:
35 | }
36 |
37 | public func makeNSView(context _: NSViewRepresentableContext<Self>) -> Self {
| `- note: candidate can not infer 'NSViewType' = 'MapView' because 'MapView' is not a class type and so can't inherit from 'NSView'
38 | MKMapView(frame: .zero)
39 | }
SwiftUI.NSViewRepresentable.NSViewType:2:16: note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
1 | protocol NSViewRepresentable {
2 | associatedtype NSViewType : NSView}
| `- note: unable to infer associated type 'NSViewType' for protocol 'NSViewRepresentable'
3 |
[121/126] Compiling WrkstrmSwiftUIExp PageControl.swift
[122/126] Compiling WrkstrmSwiftUIExp WebNavBarView.swift
[123/126] Compiling WrkstrmSwiftUIExp PageViewController.swift
BUILD FAILURE 6.1 macosSpm