The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-ass-renderer, reference main (28919f), with Swift 6.1 for Wasm on 30 May 2025 03:02:16 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/mihai8804858/swift-ass-renderer.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/mihai8804858/swift-ass-renderer
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 28919f6 Fix package manifest for Swift < 6.0
Cloned https://github.com/mihai8804858/swift-ass-renderer.git
Revision (git rev-parse @):
28919f6b5ddd896d327b0283f8d97624902236e6
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/mihai8804858/swift-ass-renderer.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mihai8804858/swift-ass-renderer.git
https://github.com/mihai8804858/swift-ass-renderer.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-snapshot-testing",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mihai8804858/swift-snapshot-testing"
    },
    {
      "identity" : "swift-libass",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mihai8804858/swift-libass"
    },
    {
      "identity" : "combine-schedulers",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/pointfreeco/combine-schedulers"
    }
  ],
  "manifest_display_name" : "swift-ass-renderer",
  "name" : "swift-ass-renderer",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "tvos",
      "version" : "15.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "macos",
      "version" : "12.0"
    },
    {
      "name" : "maccatalyst",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftAssRenderer",
      "targets" : [
        "SwiftAssRenderer"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SwiftAssRendererTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAssRendererTests",
      "path" : "Tests",
      "product_dependencies" : [
        "SnapshotTesting"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/Fonts",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Tests/Resources/Subs",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Extensions/CoreGraphicsTests.swift",
        "FontConfig/FontConfigTests.swift",
        "Helpers/FuncCheck.swift",
        "Helpers/Snapshots.swift",
        "Mocks/MockBundle.swift",
        "Mocks/MockContentsLoader.swift",
        "Mocks/MockDispatchQueue.swift",
        "Mocks/MockFileManager.swift",
        "Mocks/MockFontConfig.swift",
        "Mocks/MockImagePipeline.swift",
        "Mocks/MockLibraryWrapper.swift",
        "Mocks/MockLogger.swift",
        "Pipeline/AccelerateImagePipelineTests.swift",
        "Pipeline/BlendImagePipelineTests.swift",
        "Pipeline/PipelineTestCase.swift",
        "Renderer/AssSubtitlesRendererTests.swift",
        "Wrapper/LibraryWrapperTests.swift"
      ],
      "target_dependencies" : [
        "SwiftAssRenderer"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftAssRenderer",
      "module_type" : "SwiftTarget",
      "name" : "SwiftAssRenderer",
      "path" : "Sources/SwiftAssRenderer",
      "product_dependencies" : [
        "SwiftLibass",
        "CombineSchedulers"
      ],
      "product_memberships" : [
        "SwiftAssRenderer"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/SwiftAssRenderer/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "Composition/AssSubtitlesRenderer+Composition.swift",
        "Composition/AssVideoComposition.swift",
        "Extensions/AVPlayer.swift",
        "Extensions/Bundle.swift",
        "Extensions/CALayer.swift",
        "Extensions/CoreGraphics.swift",
        "Extensions/DispatchQueue.swift",
        "Extensions/FileManager.swift",
        "Extensions/Lock.swift",
        "Extensions/Tuple.swift",
        "Extensions/View.swift",
        "FontConfig/FontConfig.swift",
        "Loader/ContentsLoader.swift",
        "Logger/Logger.swift",
        "Overlay/AssSubtitles.swift",
        "Overlay/AssSubtitlesAttachModifier.swift",
        "Overlay/AssSubtitlesView+AVPlayerLayer.swift",
        "Overlay/AssSubtitlesView+AVPlayerView.swift",
        "Overlay/AssSubtitlesView+AVPlayerViewController.swift",
        "Overlay/AssSubtitlesView.swift",
        "Overlay/Platform.swift",
        "Pipeline/AccelerateImagePipeline.swift",
        "Pipeline/BlendImagePipeline.swift",
        "Pipeline/ImagePipelineHelpers.swift",
        "Pipeline/ImagePipelineType.swift",
        "Pipeline/ProcessedImage.swift",
        "Renderer/AssSubtitlesRenderer.swift",
        "Wrapper/LibraryWrapper.swift"
      ],
      "target_dependencies" : [
        "SwiftAssBlend"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SwiftAssBlend",
      "module_type" : "ClangTarget",
      "name" : "SwiftAssBlend",
      "path" : "Sources/SwiftAssBlend",
      "product_dependencies" : [
        "SwiftLibass"
      ],
      "product_memberships" : [
        "SwiftAssRenderer"
      ],
      "sources" : [
        "RenderBlend.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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 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/mihai8804858/swift-snapshot-testing
[1/3413] Fetching swift-snapshot-testing
Fetched https://github.com/mihai8804858/swift-snapshot-testing from cache (1.44s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/combine-schedulers
Fetching https://github.com/mihai8804858/swift-libass
[1/2410] Fetching combine-schedulers
[2411/72862] Fetching combine-schedulers, swift-syntax
[15093/73764] Fetching combine-schedulers, swift-syntax, swift-libass
Fetched https://github.com/pointfreeco/combine-schedulers from cache (4.65s)
Fetched https://github.com/mihai8804858/swift-libass from cache (4.82s)
Fetched https://github.com/swiftlang/swift-syntax from cache (10.94s)
Computing version for https://github.com/pointfreeco/combine-schedulers
Computed https://github.com/pointfreeco/combine-schedulers at 1.0.3 (12.08s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[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.43s)
[655/5458] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.25s)
Computing version for https://github.com/mihai8804858/swift-libass
Computed https://github.com/mihai8804858/swift-libass at 1.4.0 (2.14s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (0.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (0.78s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 600.0.1 (3.60s)
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 600.0.1
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/mihai8804858/swift-libass
Working copy of https://github.com/mihai8804858/swift-libass resolved at 1.4.0
Creating working copy for https://github.com/mihai8804858/swift-snapshot-testing
Working copy of https://github.com/mihai8804858/swift-snapshot-testing resolved at main (4ee19ec)
Creating working copy for https://github.com/pointfreeco/combine-schedulers
Working copy of https://github.com/pointfreeco/combine-schedulers resolved at 1.0.3
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
Building for debugging...
[0/9] Write sources
[3/9] Copying PrivacyInfo.xcprivacy
[5/9] Write sources
[7/9] Write swift-version-24593BA9C3E375BF.txt
[9/42] Compiling IssueReporting TestContext.swift
[10/42] Compiling IssueReporting Unimplemented.swift
[11/44] Emitting module ConcurrencyExtras
[12/44] Compiling ConcurrencyExtras ActorIsolated.swift
[13/44] Compiling ConcurrencyExtras AnyHashableSendable.swift
[14/45] Compiling ConcurrencyExtras UncheckedSendable.swift
[15/45] Compiling IssueReporting WithExpectedIssue.swift
[16/45] Compiling IssueReporting WithIssueContext.swift
[17/45] Emitting module IssueReporting
[18/45] Compiling ConcurrencyExtras AsyncStream.swift
[19/45] Compiling ConcurrencyExtras AsyncThrowingStream.swift
[23/45] Compiling SwiftLibass SwiftLibass.swift
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/45] Emitting module SwiftLibass
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
[25/45] Compiling SwiftLibass resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
[26/45] Compiling ConcurrencyExtras LockIsolated.swift
[27/45] Compiling ConcurrencyExtras Result.swift
[28/45] Compiling IssueReporting XCTest.swift
[29/45] Compiling IssueReporting IsTesting.swift
[30/45] Compiling IssueReporting IssueReporter.swift
[31/45] Compiling IssueReporting RuntimeWarningReporter.swift
[32/45] Compiling IssueReporting ReportIssue.swift
[33/45] Compiling IssueReporting SwiftTesting.swift
[34/45] Compiling IssueReporting UncheckedSendable.swift
[35/45] Compiling IssueReporting Warn.swift
[36/45] Compiling IssueReporting BreakpointReporter.swift
[37/45] Compiling IssueReporting FatalErrorReporter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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
[0/1] Planning build
Building for debugging...
[0/2] Write swift-version-24593BA9C3E375BF.txt
[2/35] Compiling SwiftLibass SwiftLibass.swift
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
[3/35] Compiling SwiftLibass resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/35] Emitting module SwiftLibass
/host/spi-builder-workspace/.build/checkouts/swift-libass/Sources/SwiftLibass.swift:1:19: error: no such module 'libass'
1 | @_exported import libass
  |                   `- error: no such module 'libass'
2 |
BUILD FAILURE 6.1 wasm