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-shared, reference 0.1.0 (7b669a), with Swift 6.0 for visionOS using Xcode 16.0 on 31 Oct 2024 01:29:00 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme snap-template-shared -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonnickel/snap-template.git
Reference: 0.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/simonnickel/snap-template
 * tag               0.1.0      -> FETCH_HEAD
HEAD is now at 7b669a3 Fix setting to be locally
Cloned https://github.com/simonnickel/snap-template.git
Revision (git rev-parse @):
7b669a36ebb77b15617cd58a074e4d43978b0109
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/simonnickel/snap-template.git at 0.1.0
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/simonnickel/snap-template.git
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEPackageSupportUseBuiltinSCM = YES
Resolve Package Graph
Fetching from https://github.com/simonnickel/snap-core.git
Fetching from https://github.com/simonnickel/snap-theme.git
Fetching from https://github.com/simonnickel/snap-settings-service.git
Fetching from https://github.com/simonnickel/snap-matching-navigation.git
Fetching from https://github.com/simonnickel/snap-foundation.git
Creating working copy of package ‘snap-settings-service’
Checking out main (a35bba1) of package ‘snap-settings-service’
Creating working copy of package ‘snap-foundation’
Checking out main (cb8215e) of package ‘snap-foundation’
Creating working copy of package ‘snap-matching-navigation’
Checking out main (84cecc1) of package ‘snap-matching-navigation’
Creating working copy of package ‘snap-theme’
Checking out main (88f40de) of package ‘snap-theme’
Creating working copy of package ‘snap-core’
Checking out main (f1dc2e7) of package ‘snap-core’
Resolve Package Graph
Resolved source packages:
  snap-template-shared: /Users/admin/builder/spi-builder-workspace
  snap-settings-service: https://github.com/simonnickel/snap-settings-service.git @ main (a35bba1)
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-theme: https://github.com/simonnickel/snap-theme.git @ main (88f40de)
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
  snap-matching-navigation: https://github.com/simonnickel/snap-matching-navigation.git @ main (84cecc1)
resolved source packages: snap-template-shared, snap-settings-service, snap-foundation, snap-theme, snap-core, snap-matching-navigation
{
  "dependencies" : [
    {
      "identity" : "snap-core",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-core.git"
    },
    {
      "identity" : "snap-theme",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-theme.git"
    },
    {
      "identity" : "snap-settings-service",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-settings-service.git"
    },
    {
      "identity" : "snap-matching-navigation",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/simonnickel/snap-matching-navigation.git"
    }
  ],
  "manifest_display_name" : "snap-template-shared",
  "name" : "snap-template-shared",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "17.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SnapTemplateShared",
      "targets" : [
        "SnapTemplateShared"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SnapTemplateSharedTests",
      "module_type" : "SwiftTarget",
      "name" : "SnapTemplateSharedTests",
      "path" : "Tests/SnapTemplateSharedTests",
      "sources" : [
        "SnapTemplateSharedTests.swift"
      ],
      "target_dependencies" : [
        "SnapTemplateShared"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SnapTemplateShared",
      "module_type" : "SwiftTarget",
      "name" : "SnapTemplateShared",
      "path" : "Sources/SnapTemplateShared",
      "product_dependencies" : [
        "SnapCore",
        "SnapTheme",
        "SnapSettingsService",
        "SnapMatchingNavigation"
      ],
      "product_memberships" : [
        "SnapTemplateShared"
      ],
      "sources" : [
        "Container.swift",
        "Settings/AccentColor/AccentColorPicker.swift",
        "Settings/AccentColor/Settings+AccentColor.swift",
        "Settings/ConfigureTab/ConfigureTabs+InitialPicker.swift",
        "Settings/ConfigureTab/ConfigureTabs+List.swift",
        "Settings/ConfigureTab/ConfigureTabs+ListRow.swift",
        "Settings/ConfigureTab/ConfigureTabsScreen.swift",
        "Settings/ConfigureTab/Settings+NavigationTabs.swift",
        "Settings/ConfigureTab/TabConfiguration.swift",
        "Settings/DisplayMode/DisplayMode.swift",
        "Settings/DisplayMode/Settings+DisplayMode.swift",
        "Settings/Header/SettingsHeaderSection.swift",
        "Settings/IconKeys+Settings.swift",
        "Settings/NavigationLayout/NavigationLayout.swift",
        "Settings/NavigationLayout/Settings+NavigationLayout.swift",
        "Settings/Views/SettingsPicker.swift",
        "Settings/Views/SettingsRow.swift",
        "Settings/Views/SettingsToggle.swift",
        "Settings/Views/ThemeSceneSettings.swift",
        "SnapNavigationSplitView.swift",
        "TemplateAppStructure/TemplateContent.swift",
        "TemplateAppStructure/TemplateDepencencies+ViewModifier.swift",
        "TemplateAppStructure/TemplateDependencies.swift",
        "TemplateAppStructure/TemplateState+Environment.swift",
        "TemplateAppStructure/TemplateState.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "snap-template-shared",
      "snap-theme"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "snap-template-shared",
      "snap-theme"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme snap-template-shared -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme snap-template-shared -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
  snap-settings-service: https://github.com/simonnickel/snap-settings-service.git @ main (a35bba1)
  snap-template-shared: /Users/admin/builder/spi-builder-workspace
  snap-theme: https://github.com/simonnickel/snap-theme.git @ main (88f40de)
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-matching-navigation: https://github.com/simonnickel/snap-matching-navigation.git @ main (84cecc1)
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapMatchingNavigation' in project 'snap-matching-navigation' (no dependencies)
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 7cd40bf137b2e6b7b7e6422cd0674ba9
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/7cd40bf137b2e6b7b7e6422cd0674ba9.xcbuilddata
error: The package product 'SnapCore' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapTheme' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapSettingsService' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapMatchingNavigation' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme snap-template-shared
(1 failure)
Command line invocation:
    /Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme snap-template-shared -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
    IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
    IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
    IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
  snap-matching-navigation: https://github.com/simonnickel/snap-matching-navigation.git @ main (84cecc1)
  snap-settings-service: https://github.com/simonnickel/snap-settings-service.git @ main (a35bba1)
  snap-template-shared: /Users/admin/builder/spi-builder-workspace
  snap-foundation: https://github.com/simonnickel/snap-foundation.git @ main (cb8215e)
  snap-core: https://github.com/simonnickel/snap-core.git @ main (f1dc2e7)
  snap-theme: https://github.com/simonnickel/snap-theme.git @ main (88f40de)
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (12 targets)
    Target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapTemplateShared' in project 'snap-template-shared'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
        ➜ Explicit dependency on target 'SnapMatchingNavigation' in project 'snap-matching-navigation'
    Target 'SnapMatchingNavigation' in project 'snap-matching-navigation' (no dependencies)
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapSettingsService' in project 'snap-settings-service'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapTheme' in project 'snap-theme'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapCore' in project 'snap-core'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation'
        ➜ Explicit dependency on target 'SnapFoundation' in project 'snap-foundation'
    Target 'SnapFoundation' in project 'snap-foundation' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
error: The package product 'SnapCore' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapMatchingNavigation' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapSettingsService' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
error: The package product 'SnapTheme' requires minimum platform version 2.0 for the visionOS platform, but this target supports 1.0 (in target 'SnapTemplateShared' from project 'snap-template-shared')
** BUILD FAILED **
The following build commands failed:
	Building workspace spi-builder-workspace with scheme snap-template-shared
(1 failure)
BUILD FAILURE 6.0 visionOS