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 snap-template, reference main (ec5e97), with Swift 6.0 for macOS (SPM) on 3 Dec 2024 07:20:02 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

Build Log

========================================
RunAll
========================================
Builder version: 4.58.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-template.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-template
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at ec5e973 Update packages
Cloned https://github.com/simonnickel/snap-template.git
Revision (git rev-parse @):
ec5e973b745bd66939aae8c60422cd84dc29cd8e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-template.git at main
Fetching https://github.com/simonnickel/snap-core.git
Fetching https://github.com/simonnickel/snap-foundation.git
Fetching https://github.com/simonnickel/snap-theme.git
Fetching https://github.com/simonnickel/snap-dependencies.git
Fetching https://github.com/simonnickel/snap-navigation.git
Fetching https://github.com/simonnickel/snap-settings-service.git
[1/31] Fetching snap-foundation
[32/342] Fetching snap-foundation, snap-core
[278/666] Fetching snap-foundation, snap-core, snap-settings-service
[285/2157] Fetching snap-foundation, snap-core, snap-settings-service, snap-navigation
[616/3373] Fetching snap-foundation, snap-core, snap-settings-service, snap-navigation, snap-theme
Fetched https://github.com/simonnickel/snap-core.git from cache (0.79s)
[604/3062] Fetching snap-foundation, snap-settings-service, snap-navigation, snap-theme
warning: 'snap-dependencies': skipping cache due to an error: Failed to clone repository https://github.com/simonnickel/snap-dependencies.git:
    Cloning into bare repository '/Users/admin/Library/Caches/org.swift.swiftpm/repositories/snap-dependencies-0bd2b47b'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Fetched https://github.com/simonnickel/snap-navigation.git from cache (1.01s)
Fetched https://github.com/simonnickel/snap-theme.git from cache (1.01s)
Fetched https://github.com/simonnickel/snap-foundation.git from cache (1.01s)
Fetched https://github.com/simonnickel/snap-settings-service.git from cache (1.01s)
Creating working copy for https://github.com/simonnickel/snap-settings-service.git
Working copy of https://github.com/simonnickel/snap-settings-service.git resolved at main (dc93c9b)
Creating working copy for https://github.com/simonnickel/snap-navigation.git
Working copy of https://github.com/simonnickel/snap-navigation.git resolved at main (353d6d4)
Creating working copy for https://github.com/simonnickel/snap-foundation.git
Working copy of https://github.com/simonnickel/snap-foundation.git resolved at main (70686e7)
Creating working copy for https://github.com/simonnickel/snap-core.git
Working copy of https://github.com/simonnickel/snap-core.git resolved at main (f1dc2e7)
Fetching https://github.com/simonnickel/snap-dependencies.git
warning: skipping cache due to an error: Failed to clone repository https://github.com/simonnickel/snap-dependencies.git:
    Cloning into bare repository '/Users/admin/Library/Caches/org.swift.swiftpm/repositories/snap-dependencies-0bd2b47b'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
error: 'snap-dependencies': Failed to clone repository https://github.com/simonnickel/snap-dependencies.git:
    Cloning into bare repository '/Users/admin/builder/spi-builder-workspace/.build/repositories/snap-dependencies-0bd2b47b'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
Creating working copy for https://github.com/simonnickel/snap-theme.git
Working copy of https://github.com/simonnickel/snap-theme.git resolved at main (250e709)
error: fatalError
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/simonnickel/snap-template.git
{
  "dependencies" : [
    {
      "identity" : "snap-core",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-core.git"
    },
    {
      "identity" : "snap-dependencies",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-dependencies.git"
    },
    {
      "identity" : "snap-navigation",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-navigation.git"
    },
    {
      "identity" : "snap-settings-service",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-settings-service.git"
    },
    {
      "identity" : "snap-theme",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-theme.git"
    }
  ],
  "manifest_display_name" : "snap-template",
  "name" : "snap-template",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "18.0"
    },
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapTemplate",
      "targets" : [
        "SnapTemplateApp",
        "SnapTemplateSettings",
        "SnapTemplateUtil"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SnapTemplateUtil",
      "module_type" : "SwiftTarget",
      "name" : "SnapTemplateUtil",
      "path" : "Sources/SnapTemplateUtil",
      "product_dependencies" : [
        "SnapNavigation",
        "SnapTheme"
      ],
      "product_memberships" : [
        "SnapTemplate"
      ],
      "sources" : [
        "NavigationListRow.swift",
        "SnapNavigationDestination+Icon.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapTemplateSettings",
      "module_type" : "SwiftTarget",
      "name" : "SnapTemplateSettings",
      "path" : "Sources/SnapTemplateSettings",
      "product_dependencies" : [
        "SnapCore",
        "SnapDependencies",
        "SnapNavigation",
        "SnapSettingsService",
        "SnapTheme"
      ],
      "product_memberships" : [
        "SnapTemplate"
      ],
      "sources" : [
        "AccentColor/AccentColorPicker.swift",
        "AccentColor/Settings+AccentColor.swift",
        "ConfigureTab/ConfigureTabs+InitialPicker.swift",
        "ConfigureTab/ConfigureTabs+List.swift",
        "ConfigureTab/ConfigureTabs+ListRow.swift",
        "ConfigureTab/ConfigureTabsScreen.swift",
        "ConfigureTab/Settings+NavigationTabs.swift",
        "ConfigureTab/TabConfiguration.swift",
        "Dependencies+TemplateSettings.swift",
        "DisplayMode/DisplayMode.swift",
        "DisplayMode/Settings+DisplayMode.swift",
        "Header/SettingsHeaderSection.swift",
        "IconKeys+Settings.swift",
        "InterfaceScale/InterfaceScale.swift",
        "InterfaceScale/Settings+InterfaceScale.swift",
        "NavigationLayout/NavigationLayout.swift",
        "NavigationLayout/Settings+NavigationLayout.swift",
        "TemplateSettingsDestination.swift",
        "TemplateSettingsScreen.swift",
        "Views/SettingsPicker.swift",
        "Views/SettingsRow.swift",
        "Views/SettingsToggle.swift",
        "Views/SettingsToolbarButton.swift",
        "Views/ThemeSceneSettings.swift"
      ],
      "target_dependencies" : [
        "SnapTemplateUtil"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SnapTemplateApp",
      "module_type" : "SwiftTarget",
      "name" : "SnapTemplateApp",
      "path" : "Sources/SnapTemplateApp",
      "product_dependencies" : [
        "SnapCore",
        "SnapDependencies",
        "SnapNavigation",
        "SnapSettingsService",
        "SnapTheme"
      ],
      "product_memberships" : [
        "SnapTemplate"
      ],
      "sources" : [
        "Dependencies+Template.swift",
        "TemplateModifierScene.swift",
        "TemplateState.swift"
      ],
      "target_dependencies" : [
        "SnapTemplateSettings"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Updating https://github.com/simonnickel/snap-core.git
Updated https://github.com/simonnickel/snap-core.git (0.49s)
Fetching https://github.com/simonnickel/snap-dependencies.git
warning: 'snap-dependencies': skipping cache due to an error: Failed to clone repository https://github.com/simonnickel/snap-dependencies.git:
    Cloning into bare repository '/Users/admin/Library/Caches/org.swift.swiftpm/repositories/snap-dependencies-0bd2b47b'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
error: Failed to clone repository https://github.com/simonnickel/snap-dependencies.git:
    Cloning into bare repository '/Users/admin/builder/spi-builder-workspace/.build/repositories/snap-dependencies-0bd2b47b'...
    fatal: could not read Username for 'https://github.com': terminal prompts disabled
BUILD FAILURE 6.0 macosSpm