The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Storybook, reference main (c2c579), with Swift 6.1 for Linux on 5 Dec 2025 12:20:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/eure/swift-storybook.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/eure/swift-storybook
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c2c5796 Update README.md
Cloned https://github.com/eure/swift-storybook.git
Revision (git rev-parse @):
c2c579621eff71fe14c3b002f9ce8241ac5570c8
SUCCESS checkout https://github.com/eure/swift-storybook.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/eure/swift-storybook.git
https://github.com/eure/swift-storybook.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "texturebridging",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.2.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/FluidGroup/TextureBridging.git"
    },
    {
      "identity" : "textureswiftsupport",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.20.1",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/FluidGroup/TextureSwiftSupport.git"
    },
    {
      "identity" : "swiftui-support",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/FluidGroup/swiftui-support"
    },
    {
      "identity" : "resultbuilderkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/FluidGroup/ResultBuilderKit"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "600.0.0",
            "upper_bound" : "603.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "swift-macro-testing",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.5.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-macro-testing.git"
    }
  ],
  "manifest_display_name" : "Storybook",
  "name" : "Storybook",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "StorybookKit",
      "targets" : [
        "StorybookKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StorybookKitTextureSupport",
      "targets" : [
        "StorybookKitTextureSupport"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "StorybookMacrosPlugin",
      "targets" : [
        "StorybookMacrosPlugin"
      ],
      "type" : {
        "macro" : null
      }
    }
  ],
  "swift_languages_versions" : [
    "6",
    "5"
  ],
  "targets" : [
    {
      "c99name" : "StorybookMacrosTests",
      "module_type" : "SwiftTarget",
      "name" : "StorybookMacrosTests",
      "path" : "Sources/StorybookMacrosTests",
      "product_dependencies" : [
        "SwiftSyntaxMacrosTestSupport",
        "MacroTesting"
      ],
      "sources" : [
        "StorybookPageTests.swift",
        "StorybookPreviewTests.swift"
      ],
      "target_dependencies" : [
        "StorybookMacrosPlugin"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StorybookMacrosPlugin",
      "module_type" : "SwiftTarget",
      "name" : "StorybookMacrosPlugin",
      "path" : "Sources/StorybookMacrosPlugin",
      "product_dependencies" : [
        "SwiftSyntaxMacros",
        "SwiftCompilerPlugin"
      ],
      "product_memberships" : [
        "StorybookKit",
        "StorybookKitTextureSupport",
        "StorybookMacrosPlugin"
      ],
      "sources" : [
        "StorybookMacrosPlugin.swift",
        "StorybookPageMacro.swift",
        "StorybookPreviewMacro.swift"
      ],
      "type" : "macro"
    },
    {
      "c99name" : "StorybookKitTextureSupport",
      "module_type" : "SwiftTarget",
      "name" : "StorybookKitTextureSupport",
      "path" : "Sources/StorybookKitTextureSupport",
      "product_dependencies" : [
        "TextureSwiftSupport",
        "TextureBridging"
      ],
      "product_memberships" : [
        "StorybookKitTextureSupport"
      ],
      "sources" : [
        "BookNodePreview.swift"
      ],
      "target_dependencies" : [
        "StorybookKit"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StorybookKit",
      "module_type" : "SwiftTarget",
      "name" : "StorybookKit",
      "path" : "Sources/StorybookKit",
      "product_dependencies" : [
        "SwiftUISupport",
        "ResultBuilderKit"
      ],
      "product_memberships" : [
        "StorybookKit",
        "StorybookKitTextureSupport"
      ],
      "sources" : [
        "BookGenerator.swift",
        "BookLorem.swift",
        "Compositions/BookPadding.swift",
        "Compositions/BookPattern.swift",
        "Compositions/BookSection.swift",
        "Internals/Hosting/_ViewControllerHost.swift",
        "Internals/Hosting/_ViewHost.swift",
        "Internals/Preview/PreviewRegistryWrapper.swift",
        "Internals/TargetViewControllerKey.swift",
        "Internals/fuzzyMatch.swift",
        "Internals/machOLoader.swift",
        "Primitives/Book.swift",
        "Primitives/BookAction.swift",
        "Primitives/BookPage.swift",
        "Primitives/BookPresent.swift",
        "Primitives/BookPreview.swift",
        "Primitives/BookProvider.swift",
        "Primitives/BookPush.swift",
        "Primitives/BookStore.swift",
        "Primitives/BookText.swift",
        "Primitives/BookView.swift",
        "SearchBar.swift",
        "SettingsView.swift",
        "Storybook.swift",
        "StorybookDisplayRootView.swift",
        "StorybookKit.swift"
      ],
      "target_dependencies" : [
        "StorybookMacrosPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/FluidGroup/ResultBuilderKit
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetching https://github.com/FluidGroup/TextureBridging.git
Fetching https://github.com/FluidGroup/TextureSwiftSupport.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/FluidGroup/swiftui-support
[1/74] Fetching resultbuilderkit
[75/1006] Fetching resultbuilderkit, swift-macro-testing
[355/2472] Fetching resultbuilderkit, swift-macro-testing, texturebridging
[682/5328] Fetching resultbuilderkit, swift-macro-testing, texturebridging, textureswiftsupport
Fetched https://github.com/FluidGroup/ResultBuilderKit from cache (0.44s)
Fetched https://github.com/pointfreeco/swift-macro-testing.git from cache (0.44s)
[2091/4322] Fetching texturebridging, textureswiftsupport
[2949/77345] Fetching texturebridging, textureswiftsupport, swift-syntax
[5140/233218] Fetching texturebridging, textureswiftsupport, swift-syntax, swiftui-support
Fetched https://github.com/FluidGroup/TextureBridging.git from cache (3.04s)
[135715/231752] Fetching textureswiftsupport, swift-syntax, swiftui-support
Fetched https://github.com/FluidGroup/swiftui-support from cache (14.37s)
Fetched https://github.com/FluidGroup/TextureSwiftSupport.git from cache (14.39s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (14.44s)
Computing version for https://github.com/FluidGroup/ResultBuilderKit
Computed https://github.com/FluidGroup/ResultBuilderKit at 1.3.0 (17.06s)
Computing version for https://github.com/FluidGroup/TextureBridging.git
Computed https://github.com/FluidGroup/TextureBridging.git at 3.2.1 (0.72s)
Fetching https://github.com/FluidGroup/Texture.git
[1/43656] Fetching texture
Fetched https://github.com/FluidGroup/Texture.git from cache (7.80s)
Computing version for https://github.com/FluidGroup/Texture.git
Computed https://github.com/FluidGroup/Texture.git at 3.0.3 (8.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (0.72s)
Computing version for https://github.com/FluidGroup/TextureSwiftSupport.git
Computed https://github.com/FluidGroup/TextureSwiftSupport.git at 3.24.0 (0.62s)
Fetching https://github.com/FluidGroup/Descriptors
[1/142] Fetching descriptors
Fetched https://github.com/FluidGroup/Descriptors from cache (0.20s)
Computing version for https://github.com/FluidGroup/Descriptors
warning: 'descriptors': /Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
Computed https://github.com/FluidGroup/Descriptors at 0.3.0 (0.76s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.6.4 (0.81s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15634] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (3.42s)
Computing version for https://github.com/FluidGroup/swiftui-support
Computed https://github.com/FluidGroup/swiftui-support at 0.13.0 (3.98s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (0.52s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4651] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (0.31s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (0.92s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5600] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.94s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.0 (1.60s)
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.6.4
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Creating working copy for https://github.com/FluidGroup/swiftui-support
Working copy of https://github.com/FluidGroup/swiftui-support resolved at 0.13.0
Creating working copy for https://github.com/FluidGroup/Descriptors
Working copy of https://github.com/FluidGroup/Descriptors resolved at 0.3.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/FluidGroup/TextureBridging.git
Working copy of https://github.com/FluidGroup/TextureBridging.git resolved at 3.2.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/FluidGroup/ResultBuilderKit
Working copy of https://github.com/FluidGroup/ResultBuilderKit resolved at 1.3.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.0
Creating working copy for https://github.com/FluidGroup/TextureSwiftSupport.git
Working copy of https://github.com/FluidGroup/TextureSwiftSupport.git resolved at 3.24.0
Creating working copy for https://github.com/FluidGroup/Texture.git
Working copy of https://github.com/FluidGroup/Texture.git resolved at 3.0.3
warning: 'descriptors': /host/spi-builder-workspace/.build/checkouts/Descriptors/Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/StorybookKitTextureSupport/Info.plist
warning: 'textureswiftsupport': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/TextureSwiftSupport/Sources/Info.plist
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASCollections.mm:9:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASCollections.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASConfiguration.mm:9:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASConfiguration.h:9:9: fatal error: 'Foundation/Foundation.h' file not found
    9 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/220] Compiling AsyncDisplayKit ASConfiguration.mm
[0/220] Compiling AsyncDisplayKit ASCollections.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASDKViewController.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASDKViewController.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/220] Compiling AsyncDisplayKit ASDKViewController.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASCollectionView.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/include/ASAssert.h:12:9: fatal error: 'Foundation/NSException.h' file not found
   12 | #import <Foundation/NSException.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASInternalHelpers.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASInternalHelpers.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/220] Compiling AsyncDisplayKit ASInternalHelpers.mm
[0/220] Compiling AsyncDisplayKit ASCollectionView.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/Details/ASMutableAttributedStringBuilder.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/Details/ASMutableAttributedStringBuilder.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/220] Compiling ASMutableAttributedStringBuilder.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASCollectionNode.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASCollectionNode.h:10:9: fatal error: 'UIKit/UICollectionView.h' file not found
   10 | #import <UIKit/UICollectionView.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASDisplayNode+Convenience.mm:10:
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/ASDisplayNode+Convenience.h:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/ASDisplayNode.h:12:9: fatal error: 'UIKit/UIKit.h' file not found
   12 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[0/220] Compiling AsyncDisplayKit ASDisplayNode+Convenience.mm
[0/220] Compiling AsyncDisplayKit ASCollectionNode.mm
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'descriptors': /host/spi-builder-workspace/.build/checkouts/Descriptors/Package.swift:8:21: warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 6 | let package = Package(
 7 |   name: "Descriptors",
 8 |   platforms: [.iOS(.v10)],
   |                     `- warning: 'v10' is deprecated: iOS 12.0 is the oldest supported version
 9 |   products: [
10 |     // Products define the executables and libraries a package produces, and make them visible to other packages.
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/StorybookKitTextureSupport/Info.plist
warning: 'textureswiftsupport': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/TextureSwiftSupport/Sources/Info.plist
[0/1] Planning build
Building for debugging...
[0/220] Write sources
/host/spi-builder-workspace/.build/checkouts/Texture/Source/tvOS/ASControlNode+tvOS.mm:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[26/220] Compiling ASControlNode+tvOS.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/TextKit/ASTextNodeWordKerner.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/TextKit/ASTextNodeWordKerner.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[26/220] Compiling ASTextNodeWordKerner.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/UIImage+ASConvenience.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/UIImage+ASConvenience.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
1 error generated.
[26/220] Compiling AsyncDisplayKit UIImage+ASConvenience.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/UIResponder+AsyncDisplayKit.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/UIResponder+AsyncDisplayKit.h:10:9: fatal error: 'UIKit/UIKit.h' file not found
   10 | #import <UIKit/UIKit.h>
      |         ^~~~~~~~~~~~~~~
[26/220] Compiling AsyncDisplayKit UIResponder+AsyncDisplayKit.mm
/host/spi-builder-workspace/.build/checkouts/Texture/Source/tvOS/ASImageNode+tvOS.mm:10:9[26/220] Compiling ASImageNode+tvOS.mm
In file included from /host/spi-builder-workspace/.build/checkouts/Texture/Source/_ASTransitionContext.mm:10:
/host/spi-builder-workspace/.build/checkouts/Texture/Source/_ASTransitionContext.h:10:9: fatal error: 'Foundation/Foundation.h' file not found
   10 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[26/220] Compiling AsyncDisplayKit _ASTransitionContext.mm
[26/220] Compiling _SwiftSyntaxCShims PlatformMutex.c
[26/220] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux