The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build SwiftUIMKMapView with Swift 5.10 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/darrarski/SwiftUIMKMapView.git
Reference: main
Initialized empty Git repository in /Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/.git/
From https://github.com/darrarski/SwiftUIMKMapView
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b45f4e Show user location on the map
Cloned https://github.com/darrarski/SwiftUIMKMapView.git
Revision (git rev-parse @):
7b45f4e56045ecd8600c65416a6496ba7e7891a9
SUCCESS checkout https://github.com/darrarski/SwiftUIMKMapView.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             5.10
Building package at path:  $workDir
https://github.com/darrarski/SwiftUIMKMapView.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0-Beta.2.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--423B1241ED78D482.txt
[3/9] Compiling SwiftUIMKMapView OverlayRendererFactory.swift
[4/9] Compiling SwiftUIMKMapView LineOverlay.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:11:12: error: cannot find type 'UIColor' in scope
    color: UIColor,
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:23:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
[5/9] Compiling SwiftUIMKMapView DotAnnotation.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:14:12: error: cannot find type 'UIColor' in scope
    color: UIColor
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:25:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:51:25: error: cannot find type 'UIImage' in scope
  func renderImage() -> UIImage? {
                        ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:53:18: error: cannot find 'UIGraphicsImageRendererFormat' in scope
    let format = UIGraphicsImageRendererFormat()
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:58:20: error: cannot find 'UIGraphicsImageRenderer' in scope
    let renderer = UIGraphicsImageRenderer(bounds: bounds, format: format)
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:60:7: error: cannot find 'UIColor' in scope
      UIColor.white.setFill()
      ^~~~~~~
[6/9] Compiling SwiftUIMKMapView MapViewCoordinator.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:13:5: error: setter for 'visibleRect' is only available in macOS 10.15 or newer
    view.visibleRect = mapView.visibleMapRect
    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:13:5: note: add 'if #available' version check
    view.visibleRect = mapView.visibleMapRect
    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:15: note: add @available attribute to enclosing instance method
  public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:4:20: note: add @available attribute to enclosing class
public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
                   ^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/9] Compiling SwiftUIMKMapView AnnotationViewFactory.swift
[8/9] Emitting module SwiftUIMKMapView
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:14:12: error: cannot find type 'UIColor' in scope
    color: UIColor
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:25:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:51:25: error: cannot find type 'UIImage' in scope
  func renderImage() -> UIImage? {
                        ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:11:12: error: cannot find type 'UIColor' in scope
    color: UIColor,
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:23:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:14:18: error: 'Binding' is only available in macOS 10.15 or newer
    visibleRect: Binding<MKMapRect>,
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:13:10: note: add @available attribute to enclosing initializer
  public init(
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
  @Binding var visibleRect: MKMapRect
   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
  public func makeUIView(context: Context) -> MKMapView {
                                  ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
  public func updateUIView(_ uiView: MKMapView, context: Context) {
                                                         ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
public struct MapView: UIViewRepresentable {
                       ^~~~~~~~~~~~~~~~~~~
[9/9] Compiling SwiftUIMKMapView MapView.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:14:18: error: 'Binding' is only available in macOS 10.15 or newer
    visibleRect: Binding<MKMapRect>,
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:13:10: note: add @available attribute to enclosing initializer
  public init(
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
  @Binding var visibleRect: MKMapRect
   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
  public func makeUIView(context: Context) -> MKMapView {
                                  ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
  public func updateUIView(_ uiView: MKMapView, context: Context) {
                                                         ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
public struct MapView: UIViewRepresentable {
                       ^~~~~~~~~~~~~~~~~~~
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version--423B1241ED78D482.txt
[2/6] Compiling SwiftUIMKMapView MapViewCoordinator.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:13:5: error: setter for 'visibleRect' is only available in macOS 10.15 or newer
    view.visibleRect = mapView.visibleMapRect
    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:13:5: note: add 'if #available' version check
    view.visibleRect = mapView.visibleMapRect
    ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:12:15: note: add @available attribute to enclosing instance method
  public func mapView(_ mapView: MKMapView, regionDidChangeAnimated animated: Bool) {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapViewCoordinator.swift:4:20: note: add @available attribute to enclosing class
public final class MapViewCoordinator: NSObject, MKMapViewDelegate {
                   ^
[3/6] Compiling SwiftUIMKMapView MapView.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:14:18: error: 'Binding' is only available in macOS 10.15 or newer
    visibleRect: Binding<MKMapRect>,
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:13:10: note: add @available attribute to enclosing initializer
  public init(
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
  @Binding var visibleRect: MKMapRect
   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
  public func makeUIView(context: Context) -> MKMapView {
                                  ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
  public func updateUIView(_ uiView: MKMapView, context: Context) {
                                                         ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
public struct MapView: UIViewRepresentable {
                       ^~~~~~~~~~~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module SwiftUIMKMapView
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:14:12: error: cannot find type 'UIColor' in scope
    color: UIColor
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:25:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:51:25: error: cannot find type 'UIImage' in scope
  func renderImage() -> UIImage? {
                        ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:11:12: error: cannot find type 'UIColor' in scope
    color: UIColor,
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:23:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:14:18: error: 'Binding' is only available in macOS 10.15 or newer
    visibleRect: Binding<MKMapRect>,
                 ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:13:10: note: add @available attribute to enclosing initializer
  public init(
         ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:29:4: error: 'Binding' is only available in macOS 10.15 or newer
  @Binding var visibleRect: MKMapRect
   ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:15: note: add @available attribute to enclosing struct
public struct MapView: UIViewRepresentable {
              ^
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:40:35: error: cannot find type 'Context' in scope
  public func makeUIView(context: Context) -> MKMapView {
                                  ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:47:58: error: cannot find type 'Context' in scope
  public func updateUIView(_ uiView: MKMapView, context: Context) {
                                                         ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/MapView.swift:5:24: error: cannot find type 'UIViewRepresentable' in scope
public struct MapView: UIViewRepresentable {
                       ^~~~~~~~~~~~~~~~~~~
[5/6] Compiling SwiftUIMKMapView DotAnnotation.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:14:12: error: cannot find type 'UIColor' in scope
    color: UIColor
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:25:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:51:25: error: cannot find type 'UIImage' in scope
  func renderImage() -> UIImage? {
                        ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:53:18: error: cannot find 'UIGraphicsImageRendererFormat' in scope
    let format = UIGraphicsImageRendererFormat()
                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:58:20: error: cannot find 'UIGraphicsImageRenderer' in scope
    let renderer = UIGraphicsImageRenderer(bounds: bounds, format: format)
                   ^~~~~~~~~~~~~~~~~~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/DotAnnotation.swift:60:7: error: cannot find 'UIColor' in scope
      UIColor.white.setFill()
      ^~~~~~~
[6/6] Compiling SwiftUIMKMapView LineOverlay.swift
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:11:12: error: cannot find type 'UIColor' in scope
    color: UIColor,
           ^~~~~~~
/Users/admin/builds/J1XnyXFH/1/finestructure/swiftpackageindex-builder/spi-builder-workspace/Sources/SwiftUIMKMapView/LineOverlay.swift:23:14: error: cannot find type 'UIColor' in scope
  let color: UIColor
             ^~~~~~~
error: fatalError
BUILD FAILURE 5.10 macosSpm