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 Karte, reference main (67a25a), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 12:42:17 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/kiliankoe/Karte.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kiliankoe/Karte
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 67a25ad Merge pull request #37 from kiliankoe/visionOS
Cloned https://github.com/kiliankoe/Karte.git
Revision (git rev-parse @):
67a25ade1b1b66aeb70c05b75754bdfdfa54f80e
SUCCESS checkout https://github.com/kiliankoe/Karte.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "karte",
      "name": "Karte",
      "url": "https://github.com/kiliankoe/Karte.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Karte",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/kiliankoe/Karte.git
[8/722] Fetching karte
Fetched https://github.com/kiliankoe/Karte.git from cache (0.94s)
Creating working copy for https://github.com/kiliankoe/Karte.git
Working copy of https://github.com/kiliankoe/Karte.git resolved at main (67a25ad)
warning: '.resolve-product-dependencies': dependency 'karte' 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/kiliankoe/Karte.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Karte",
  "name" : "Karte",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Karte",
      "targets" : [
        "Karte"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "KarteTests",
      "module_type" : "SwiftTarget",
      "name" : "KarteTests",
      "path" : "Tests/KarteTests",
      "sources" : [
        "KarteTests.swift"
      ],
      "target_dependencies" : [
        "Karte"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Karte",
      "module_type" : "SwiftTarget",
      "name" : "Karte",
      "path" : "Sources",
      "product_memberships" : [
        "Karte"
      ],
      "sources" : [
        "App.swift",
        "Error.swift",
        "Extensions.swift",
        "Karte.swift",
        "Location.swift",
        "LocationRepresentable.swift",
        "Mode.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/10] Emitting module Karte
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[4/10] Compiling Karte Error.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[5/10] Compiling Karte LocationRepresentable.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[6/10] Compiling Karte App.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[7/10] Compiling Karte Extensions.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[8/10] Compiling Karte Karte.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[9/10] Compiling Karte Location.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
[10/10] Compiling Karte Mode.swift
/Users/admin/builder/spi-builder-workspace/Sources/Karte.swift:9:8: error: no such module 'UIKit'
  7 | //
  8 |
  9 | import UIKit
    |        `- error: no such module 'UIKit'
 10 | import MapKit
 11 |
BUILD FAILURE 6.0 macosSpm