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 StreamUI, reference 0.1.4 (2ebf44), with Swift 6.1 for Linux on 1 May 2025 10:43:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.61.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StreamUI/StreamUI.swift.git
Reference: 0.1.4
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/StreamUI/StreamUI.swift
 * tag               0.1.4      -> FETCH_HEAD
HEAD is now at 2ebf444 Merge pull request #6 from StreamUI/070224-render-settings
Cloned https://github.com/StreamUI/StreamUI.swift.git
Revision (git rev-parse @):
2ebf444d2d669a259762b64d131c3f02ee614082
SUCCESS checkout https://github.com/StreamUI/StreamUI.swift.git at 0.1.4
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StreamUI/StreamUI.swift.git
https://github.com/StreamUI/StreamUI.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.4",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "haishinkit.swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.9.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/shogo4405/HaishinKit.swift.git"
    },
    {
      "identity" : "stencil",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.15.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/stencilproject/Stencil.git"
    },
    {
      "identity" : "swift-clocks",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/swift-clocks.git"
    },
    {
      "identity" : "nuke",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "12.7.3",
            "upper_bound" : "13.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kean/Nuke.git"
    },
    {
      "identity" : "console-kit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.14.3",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/console-kit.git"
    }
  ],
  "manifest_display_name" : "StreamUI",
  "name" : "StreamUI",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "StreamUI",
      "targets" : [
        "StreamUI"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CLIExample",
      "targets" : [
        "CLIExample"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "VideoViews",
      "targets" : [
        "VideoViews"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "GenerateTemplate",
      "targets" : [
        "GenerateTemplate"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "VideoViews",
      "module_type" : "SwiftTarget",
      "name" : "VideoViews",
      "path" : "Examples/VideoViews",
      "product_memberships" : [
        "CLIExample",
        "VideoViews"
      ],
      "sources" : [
        "BasicCounterView.swift",
        "ImageTestView.swift",
        "RandomSwiftUIComponentsTestView.swift",
        "SceneKitTestView.swift",
        "SoundTestView.swift",
        "SpriteKitTestView.swift",
        "VideoTestView.swift",
        "WebViewTestView.swift"
      ],
      "target_dependencies" : [
        "StreamUI"
      ],
      "type" : "library"
    },
    {
      "c99name" : "StreamUITests",
      "module_type" : "SwiftTarget",
      "name" : "StreamUITests",
      "path" : "Tests/StreamUITests",
      "sources" : [
        "StreamUITests.swift"
      ],
      "target_dependencies" : [
        "StreamUI"
      ],
      "type" : "test"
    },
    {
      "c99name" : "StreamUI",
      "module_type" : "SwiftTarget",
      "name" : "StreamUI",
      "path" : "Sources/StreamUI",
      "product_dependencies" : [
        "HaishinKit",
        "Logging",
        "Clocks",
        "Nuke",
        "ConsoleKit"
      ],
      "product_memberships" : [
        "StreamUI",
        "CLIExample",
        "VideoViews"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/StreamUI/Resources/discord.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/StreamUI/Resources/github.png",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/StreamUI/Resources/x.png",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Components/Internal/HUD.swift",
        "Components/Internal/SizedView.swift",
        "Components/StreamingImage.swift",
        "Components/StreamingLoadingIndicator.swift",
        "Components/StreamingMediaPlayer.swift",
        "Components/StreamingProgressView.swift",
        "Components/StreamingVideoPlayer.swift",
        "Extensions/AVAudioTime+Extensions.swift",
        "Extensions/Duration+Extensions.swift",
        "Extensions/Image+Extension.swift",
        "Helpers/ControlledClock.swift",
        "Helpers/FrameTimer.swift",
        "Helpers/LoggerHelper.swift",
        "Helpers/MetalRenderer.swift",
        "Helpers/PreloadManager.swift",
        "Helpers/RecorderKeys.swift",
        "Helpers/RenderSettings.swift",
        "Helpers/Streams/AudioStream.swift",
        "Helpers/Streams/FrameStream.swift",
        "Helpers/createStreamUIRecorder.swift",
        "Recorders/AudioRecorder/AudioRecorder.swift",
        "Recorders/Recorder.swift",
        "Recorders/VideoRecorder/Extensions/createCMSampleBuffer.swift",
        "Recorders/VideoRecorder/VideoRecorder.swift",
        "StreamUI.swift",
        "Streaming/RTMPStreaming.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateTemplate",
      "module_type" : "SwiftTarget",
      "name" : "GenerateTemplate",
      "path" : "Scripts/GenerateTemplate",
      "product_dependencies" : [
        "Stencil",
        "ArgumentParser",
        "Logging"
      ],
      "product_memberships" : [
        "GenerateTemplate"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Scripts/GenerateTemplate/Templates/Package.swift.stencil",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Scripts/GenerateTemplate/Templates/main.swift.stencil",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "index.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CLIExample",
      "module_type" : "SwiftTarget",
      "name" : "CLIExample",
      "path" : "Examples/CLIExample",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "CLIExample"
      ],
      "sources" : [
        "index.swift"
      ],
      "target_dependencies" : [
        "StreamUI",
        "VideoViews"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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 -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 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/shogo4405/HaishinKit.swift.git
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/pointfreeco/swift-clocks.git
Fetching https://github.com/kean/Nuke.git
Fetching https://github.com/stencilproject/Stencil.git
[1/5485] Fetching console-kit
[4444/42557] Fetching console-kit, haishinkit.swift
[5748/46393] Fetching console-kit, haishinkit.swift, swift-log
[6535/51686] Fetching console-kit, haishinkit.swift, swift-log, stencil
[8137/52978] Fetching console-kit, haishinkit.swift, swift-log, stencil, swift-clocks
[15838/79053] Fetching console-kit, haishinkit.swift, swift-log, stencil, swift-clocks, nuke
Fetched https://github.com/apple/swift-log.git from cache (0.49s)
Fetching https://github.com/apple/swift-argument-parser.git
[18426/75217] Fetching console-kit, haishinkit.swift, stencil, swift-clocks, nuke
[41483/90167] Fetching console-kit, haishinkit.swift, stencil, swift-clocks, nuke, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.98s)
[42594/75217] Fetching console-kit, haishinkit.swift, stencil, swift-clocks, nuke
Fetched https://github.com/pointfreeco/swift-clocks.git from cache (5.94s)
Fetched https://github.com/vapor/console-kit.git from cache (5.94s)
Fetched https://github.com/stencilproject/Stencil.git from cache (5.94s)
Fetched https://github.com/kean/Nuke.git from cache (5.96s)
Fetched https://github.com/shogo4405/HaishinKit.swift.git from cache (6.13s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (8.50s)
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/1021] Fetching spectre
[165/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.25s)
Fetched https://github.com/kylef/Spectre.git from cache (0.25s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.83s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.01s)
Computing version for https://github.com/kean/Nuke.git
Computed https://github.com/kean/Nuke.git at 12.8.0 (0.84s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.55s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.77s)
Fetching https://github.com/apple/swift-nio.git
[1/75577] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (4.33s)
Computing version for https://github.com/pointfreeco/swift-clocks.git
Computed https://github.com/pointfreeco/swift-clocks.git at 1.0.6 (4.91s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/852] Fetching swift-concurrency-extras
[853/6253] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.61s)
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.62s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.26s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.52s)
Computing version for https://github.com/shogo4405/HaishinKit.swift.git
Computed https://github.com/shogo4405/HaishinKit.swift.git at 1.9.8 (0.52s)
Fetching https://github.com/shogo4405/Logboard.git
[1/1560] Fetching logboard
Fetched https://github.com/shogo4405/Logboard.git from cache (0.36s)
Computing version for https://github.com/shogo4405/Logboard.git
Computed https://github.com/shogo4405/Logboard.git at 2.5.0 (0.90s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.52s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.82.1 (1.01s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
[1/1705] Fetching swift-atomics
[632/18011] Fetching swift-atomics, swift-collections
[1950/22378] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[8770/20673] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (1.20s)
Fetched https://github.com/apple/swift-collections.git from cache (1.22s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.84s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.58s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.1.4 (0.79s)
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.1.4
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Creating working copy for https://github.com/pointfreeco/swift-clocks.git
Working copy of https://github.com/pointfreeco/swift-clocks.git resolved at 1.0.6
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/shogo4405/Logboard.git
Working copy of https://github.com/shogo4405/Logboard.git resolved at 2.5.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.5.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/stencilproject/Stencil.git
Working copy of https://github.com/stencilproject/Stencil.git resolved at 0.15.1
Creating working copy for https://github.com/kean/Nuke.git
Working copy of https://github.com/kean/Nuke.git resolved at 12.8.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.82.1
Creating working copy for https://github.com/shogo4405/HaishinKit.swift.git
Working copy of https://github.com/shogo4405/HaishinKit.swift.git resolved at 1.9.8
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
warning: 'haishinkit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/dummy.m
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/52] Write sources
[5/52] Copying x.png
[5/52] Write sources
[7/52] Copying github.png
[8/52] Copying Package.swift.stencil
[9/52] Copying main.swift.stencil
[10/52] Write sources
[15/52] Copying discord.png
[16/52] Write sources
In file included from /host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/dummy.m:1:
/host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/include/HaishinKit.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[25/52] Compiling SwiftPMSupport dummy.m
[25/52] Compiling c-nioatomics.c
[25/52] Compiling c-atomics.c
[25/52] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
warning: 'haishinkit.swift': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/dummy.m
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
Building for debugging...
In file included from /host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/dummy.m:1:
/host/spi-builder-workspace/.build/checkouts/HaishinKit.swift/Sources/SwiftPMSupport/include/HaishinKit.h:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/28] Compiling SwiftPMSupport dummy.m
[1/28] Compiling c-nioatomics.c
[1/28] Compiling c-atomics.c
[1/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux