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 master (a83f11), with Swift 6.1 for Wasm on 30 May 2025 20:18:14 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StreamUI/StreamUI.swift.git
Reference: master
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
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at a83f117 Update README.md
Cloned https://github.com/StreamUI/StreamUI.swift.git
Revision (git rev-parse @):
a83f117fd247b503acb233eb92a8d9ce9b55962f
SUCCESS checkout https://github.com/StreamUI/StreamUI.swift.git at master
========================================
Build
========================================
Selected platform:         wasm
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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/pointfreeco/swift-clocks.git
Fetching https://github.com/kean/Nuke.git
Fetching https://github.com/vapor/console-kit.git
Fetching https://github.com/shogo4405/HaishinKit.swift.git
Fetching https://github.com/stencilproject/Stencil.git
Fetching https://github.com/apple/swift-log.git
[1/1292] Fetching swift-clocks
[1255/5128] Fetching swift-clocks, swift-log
[1485/10421] Fetching swift-clocks, swift-log, stencil
[1865/16174] Fetching swift-clocks, swift-log, stencil, console-kit
[7650/53336] Fetching swift-clocks, swift-log, stencil, console-kit, haishinkit.swift
[10293/79411] Fetching swift-clocks, swift-log, stencil, console-kit, haishinkit.swift, nuke
Fetched https://github.com/apple/swift-log.git from cache (0.59s)
Fetching https://github.com/apple/swift-argument-parser.git
[18701/75575] Fetching swift-clocks, stencil, console-kit, haishinkit.swift, nuke
[41759/90961] Fetching swift-clocks, stencil, console-kit, haishinkit.swift, nuke, swift-argument-parser
Fetched https://github.com/pointfreeco/swift-clocks.git from cache (1.71s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.27s)
[41581/74283] Fetching stencil, console-kit, haishinkit.swift, nuke
Fetched https://github.com/stencilproject/Stencil.git from cache (7.55s)
Fetched https://github.com/vapor/console-kit.git from cache (7.55s)
Fetched https://github.com/kean/Nuke.git from cache (7.58s)
Fetched https://github.com/shogo4405/HaishinKit.swift.git from cache (7.73s)
Computing version for https://github.com/stencilproject/Stencil.git
Computed https://github.com/stencilproject/Stencil.git at 0.15.1 (10.40s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[1022/2432] Fetching spectre, pathkit
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.91s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.62s)
Computing version for https://github.com/kean/Nuke.git
Computed https://github.com/kean/Nuke.git at 12.8.0 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.64s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (3.59s)
Fetching https://github.com/apple/swift-nio.git
[1/76123] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.71s)
Computing version for https://github.com/pointfreeco/swift-clocks.git
Computed https://github.com/pointfreeco/swift-clocks.git at 1.0.6 (6.42s)
Fetching https://github.com/pointfreeco/swift-concurrency-extras
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/852] Fetching swift-concurrency-extras
[853/6310] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.98s)
[3603/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.29s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (2.09s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.84s)
Computing version for https://github.com/shogo4405/HaishinKit.swift.git
Computed https://github.com/shogo4405/HaishinKit.swift.git at 1.9.8 (0.74s)
Fetching https://github.com/shogo4405/Logboard.git
[1/1560] Fetching logboard
Fetched https://github.com/shogo4405/Logboard.git from cache (0.41s)
Computing version for https://github.com/shogo4405/Logboard.git
Computed https://github.com/shogo4405/Logboard.git at 2.5.0 (1.49s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.61s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.01s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1717] Fetching swift-atomics
[826/18308] Fetching swift-atomics, swift-collections
[2245/22699] Fetching swift-atomics, swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.59s)
[6031/18308] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.37s)
Fetched https://github.com/apple/swift-collections.git from cache (1.41s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.99s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.71s)
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.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/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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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/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/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/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/kean/Nuke.git
Working copy of https://github.com/kean/Nuke.git resolved at 12.8.0
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/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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.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
[6/52] Copying x.png
[6/52] Copying github.png
[8/52] Copying main.swift.stencil
[8/52] Copying discord.png
[9/52] Copying Package.swift.stencil
[9/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-atomics.c
[25/52] Compiling c-nioatomics.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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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-atomics.c
[1/28] Compiling c-nioatomics.c
[1/28] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm