The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Storybook, reference master (7cd99c), with Swift 6.3 for macOS (SPM) on 18 Apr 2026 08:42:13 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aj-bartocci/Storybook-SwiftUI.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/aj-bartocci/Storybook-SwiftUI
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 7cd99c8 make search bar accessible (#9)
Cloned https://github.com/aj-bartocci/Storybook-SwiftUI.git
Revision (git rev-parse @):
7cd99c800761170dfb67eb955465678ee261e04e
SUCCESS checkout https://github.com/aj-bartocci/Storybook-SwiftUI.git at master
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "storybook-swiftui",
      "name": "Storybook",
      "url": "https://github.com/aj-bartocci/Storybook-SwiftUI.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Storybook-SwiftUI",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/aj-bartocci/Storybook-SwiftUI.git
[1/314] Fetching storybook-swiftui
Fetched https://github.com/aj-bartocci/Storybook-SwiftUI.git from cache (0.72s)
Creating working copy for https://github.com/aj-bartocci/Storybook-SwiftUI.git
Working copy of https://github.com/aj-bartocci/Storybook-SwiftUI.git resolved at master (7cd99c8)
warning: '.resolve-product-dependencies': dependency 'storybook-swiftui' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/aj-bartocci/Storybook-SwiftUI.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/5] Write sources
[1/5] Copying figma_icon.png
[1/5] Copying jira_icon.png
[1/5] Copying storybook_icon.png
[4/5] Write swift-version--6988338F2F200930.txt
[6/27] Emitting module Storybook
[7/29] Compiling Storybook TagsView.swift
[8/29] Compiling Storybook resource_bundle_accessor.swift
[9/29] Compiling Storybook DocumentationControl.swift
[10/29] Compiling Storybook DynamicTypeControl.swift
[11/29] Compiling Storybook ScreenSizeControl.swift
[12/29] Compiling Storybook StorybookCollectionData.swift
[13/29] Compiling Storybook SearchBar.swift
[14/29] Compiling Storybook StorybookFolder.swift
[15/29] Compiling Storybook StorybookPage.swift
[16/29] Compiling Storybook ColorSchemeControl.swift
[17/29] Compiling Storybook ControlConstants.swift
[18/29] Compiling Storybook ControlHelpers.swift
[19/29] Compiling Storybook StorybookCollectionViewModel.swift
[20/29] Compiling Storybook StorybookEntryView.swift
[21/29] Compiling Storybook TextFieldControl.swift
[22/29] Compiling Storybook StorybookControlContext.swift
[23/29] Compiling Storybook Image+Utils.swift
[24/29] Compiling Storybook Storybook.swift
[25/29] Compiling Storybook ControlledPreview+Utils.swift
[26/29] Compiling Storybook ControlledPreview.swift
[27/29] Compiling Storybook Controls.swift
[28/29] Compiling Storybook StorybookCollection.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:71:10: error: function opaque return type was inferred as '_ConditionalContent<some View, NavigationLink<some View, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 69 |
 70 |     @ViewBuilder
 71 |     func destinationContent(for destination: StorybookEntry.Destination) -> some View {
    |          `- error: function opaque return type was inferred as '_ConditionalContent<some View, NavigationLink<some View, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 72 |         switch destination {
 73 |         case .entry(let nestedEntry):
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:85:10: error: function opaque return type was inferred as 'DisclosureGroup<some View, ForEach<[StorybookEntry.Destination], String, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 83 |
 84 |     @ViewBuilder
 85 |     func navContent(for entry: StorybookEntry) -> some View {
    |          `- error: function opaque return type was inferred as 'DisclosureGroup<some View, ForEach<[StorybookEntry.Destination], String, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 86 |         DisclosureGroup(content: {
 87 |             ForEach(entry.destinations) { destination in
[#OpaqueTypeInference]: <https://docs.swift.org/compiler/documentation/diagnostics/opaque-type-inference>
[29/29] Compiling Storybook StorybookCollectionMac.swift
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:71:10: error: function opaque return type was inferred as '_ConditionalContent<some View, NavigationLink<some View, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 69 |
 70 |     @ViewBuilder
 71 |     func destinationContent(for destination: StorybookEntry.Destination) -> some View {
    |          `- error: function opaque return type was inferred as '_ConditionalContent<some View, NavigationLink<some View, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 72 |         switch destination {
 73 |         case .entry(let nestedEntry):
/Users/admin/builder/spi-builder-workspace/Sources/Storybook/Views/StorybookCollectionMac.swift:85:10: error: function opaque return type was inferred as 'DisclosureGroup<some View, ForEach<[StorybookEntry.Destination], String, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 83 |
 84 |     @ViewBuilder
 85 |     func navContent(for entry: StorybookEntry) -> some View {
    |          `- error: function opaque return type was inferred as 'DisclosureGroup<some View, ForEach<[StorybookEntry.Destination], String, some View>>', which defines the opaque type in terms of itself [#OpaqueTypeInference]
 86 |         DisclosureGroup(content: {
 87 |             ForEach(entry.destinations) { destination in
[#OpaqueTypeInference]: <https://docs.swift.org/compiler/documentation/diagnostics/opaque-type-inference>
BUILD FAILURE 6.3 macosSpm