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 Navigator, reference main (ad873c), with Swift 6.0 for macOS (SPM) on 30 Nov 2024 18:15:48 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/insub4067/Navigator.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/insub4067/Navigator
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ad873c8 Update Navigator+present.swift
Cloned https://github.com/insub4067/Navigator.git
Revision (git rev-parse @):
ad873c8e301ddca522fecfb63da77301f7560092
SUCCESS checkout https://github.com/insub4067/Navigator.git at main
Fetching https://github.com/MightyCombine/PanModal.git
[1/599] Fetching panmodal
Fetched https://github.com/MightyCombine/PanModal.git from cache (1.94s)
Computing version for https://github.com/MightyCombine/PanModal.git
Computed https://github.com/MightyCombine/PanModal.git at 1.2.8 (3.05s)
Creating working copy for https://github.com/MightyCombine/PanModal.git
Working copy of https://github.com/MightyCombine/PanModal.git resolved at 1.2.8
========================================
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": "navigator",
      "name": "Navigator",
      "url": "https://github.com/insub4067/Navigator.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Navigator",
      "dependencies": [
        {
          "identity": "panmodal",
          "name": "PanModal",
          "url": "https://github.com/MightyCombine/PanModal.git",
          "version": "1.2.8",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PanModal",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/insub4067/Navigator.git
[1/68] Fetching navigator
Fetched https://github.com/insub4067/Navigator.git from cache (0.65s)
Fetching https://github.com/MightyCombine/PanModal.git from cache
Fetched https://github.com/MightyCombine/PanModal.git from cache (0.46s)
Computing version for https://github.com/MightyCombine/PanModal.git
Computed https://github.com/MightyCombine/PanModal.git at 1.2.8 (0.02s)
Creating working copy for https://github.com/MightyCombine/PanModal.git
Working copy of https://github.com/MightyCombine/PanModal.git resolved at 1.2.8
Creating working copy for https://github.com/insub4067/Navigator.git
Working copy of https://github.com/insub4067/Navigator.git resolved at main (ad873c8)
warning: '.resolve-product-dependencies': dependency 'navigator' is not used by any target
Found 1 product dependencies
  - PanModal
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/insub4067/Navigator.git
{
  "dependencies" : [
    {
      "identity" : "panmodal",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.8",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/MightyCombine/PanModal.git"
    }
  ],
  "manifest_display_name" : "Navigator",
  "name" : "Navigator",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "Navigator",
      "targets" : [
        "Navigator"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Navigator",
      "module_type" : "SwiftTarget",
      "name" : "Navigator",
      "path" : "Sources/Navigator",
      "product_dependencies" : [
        "PanModal"
      ],
      "product_memberships" : [
        "Navigator"
      ],
      "sources" : [
        "Extension/View+.swift",
        "Navigator+alert.swift",
        "Navigator+bottomSheet.swift",
        "Navigator+present.swift",
        "Navigator.swift",
        "Wrapper/ModalWrapper.swift",
        "Wrapper/ViewWrapper.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/16] Compiling PanModal UIViewController+PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[5/17] Compiling PanModal DimmedView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/17] Compiling PanModal PanModalPresentable+LayoutHelpers.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[7/17] Emitting module PanModal
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[8/17] Compiling PanModal PanModalPresentationController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[9/17] Compiling PanModal PanModalPresentationDelegate.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[10/17] Compiling PanModal PanModalPresentable.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[11/17] Compiling PanModal PanModalAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[12/17] Compiling PanModal PanModalPresentationAnimator.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[13/17] Compiling PanModal PanModalPresenter.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[14/17] Compiling PanModal PanModalHeight.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[15/17] Compiling PanModal PanModalPresentable+Defaults.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[16/17] Compiling PanModal PanModalPresentable+UIViewController.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
[17/17] Compiling PanModal PanContainerView.swift
<unknown>:0: error: invalid value '5.0' in '-swift-version 5.0'
<unknown>:0: note: valid arguments to '-swift-version' are '4', '4.2', '5', '6'
BUILD FAILURE 6.0 macosSpm