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 Castor, reference 0.3.0 (17b15f), with Swift 6.1 for Wasm on 1 Sep 2025 13:31:26 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/SRGSSR/castor.git
Reference: 0.3.0
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/SRGSSR/castor
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 17b15ff Fix a crash on macOS app designed for iPad (#154)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
17b15ffbd09721aac1dbb9ed2887cfba80b2028e
SUCCESS checkout https://github.com/SRGSSR/castor.git at 0.3.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/SRGSSR/castor.git
https://github.com/SRGSSR/castor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "google-cast-sdk",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.8.3",
            "upper_bound" : "4.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SRGSSR/google-cast-sdk.git"
    }
  ],
  "manifest_display_name" : "Castor",
  "name" : "Castor",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "CastResumeStateTests.swift",
        "CollectionTests.swift",
        "ComparableTests.swift",
        "RangeReplaceableTests.swift"
      ],
      "target_dependencies" : [
        "Castor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CastorPackageInfoPlugin",
      "module_type" : "PluginTarget",
      "name" : "CastorPackageInfoPlugin",
      "path" : "Plugins",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
        "PackageInfoPlugin/plugin.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfo"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "CastorPackageInfo",
      "module_type" : "BinaryTarget",
      "name" : "CastorPackageInfo",
      "path" : "Artifacts/PackageInfo.artifactbundle",
      "product_memberships" : [
        "Castor"
      ],
      "sources" : [
      ],
      "type" : "binary"
    },
    {
      "c99name" : "Castor",
      "module_type" : "SwiftTarget",
      "name" : "Castor",
      "path" : "Sources/Castor",
      "product_dependencies" : [
        "GoogleCast"
      ],
      "product_memberships" : [
        "Castor"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/Castor/Resources/Assets.xcassets",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/Castor/Resources/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast/Cast.swift",
        "Cast/CastConfiguration.swift",
        "Cast/CastDelegate.swift",
        "Cast/CastDevice.swift",
        "Cast/Castable.swift",
        "Extensions/Binding.swift",
        "Extensions/CMTimeRange.swift",
        "Extensions/Collection.swift",
        "Extensions/Comparable.swift",
        "Extensions/GCKCastSession.swift",
        "Extensions/GCKMediaQueue.swift",
        "Extensions/GCKMediaStatus.swift",
        "Extensions/GCKMediaTrackType.swift",
        "Extensions/GCKRemoteMediaClient.swift",
        "Extensions/GCKSessionTraits.swift",
        "Extensions/Image.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/String.swift",
        "Extensions/View.swift",
        "Player/CastAsset.swift",
        "Player/CastPlayer+ItemNavigation.swift",
        "Player/CastPlayer+Items.swift",
        "Player/CastPlayer+MediaSelection.swift",
        "Player/CastPlayer+Navigation.swift",
        "Player/CastPlayer+Playback.swift",
        "Player/CastPlayer+PlaybackSpeed.swift",
        "Player/CastPlayer+Properties.swift",
        "Player/CastPlayer+Seek.swift",
        "Player/CastPlayer+SettingsMenu.swift",
        "Player/CastPlayer+Skip.swift",
        "Player/CastPlayer+SkipToDefault.swift",
        "Player/CastPlayer+Time.swift",
        "Player/CastPlayer+TimePublisher.swift",
        "Player/CastPlayer.swift",
        "Player/CastPlayerItem.swift",
        "PropertyWrappers/CurrentDevicePropertyWrapper.swift",
        "PropertyWrappers/LazyItemPropertyWrapper.swift",
        "PropertyWrappers/MutableReceiverState.swift",
        "PropertyWrappers/ReceiverState.swift",
        "Recipes/ActiveTracksRecipe.swift",
        "Recipes/CurrentItemIdRecipe.swift",
        "Recipes/DevicesRecipe.swift",
        "Recipes/ItemsRecipe.swift",
        "Recipes/MediaStatusRecipe.swift",
        "Recipes/MutableReceiverStateRecipe.swift",
        "Recipes/MutedRecipe.swift",
        "Recipes/PlaybackSpeedRecipe.swift",
        "Recipes/ReceiverStateRecipe.swift",
        "Recipes/RepeatModeRecipe.swift",
        "Recipes/ShouldPlayRecipe.swift",
        "Recipes/TargetSeekTimeRecipe.swift",
        "Recipes/VolumeRecipe.swift",
        "Types/CastAssetOptions.swift",
        "Types/CastAssetURLConfiguration.swift",
        "Types/CastCustomData.swift",
        "Types/CastImage.swift",
        "Types/CastImageHints.swift",
        "Types/CastMediaSelectionOption.swift",
        "Types/CastMediaSelectionPreference.swift",
        "Types/CastMediaTrack.swift",
        "Types/CastMetadata.swift",
        "Types/CastNavigationMode.swift",
        "Types/CastRepeatMode.swift",
        "Types/CastResumeItem.swift",
        "Types/CastResumeState.swift",
        "Types/CastSettingsUpdate.swift",
        "Types/CastSkip.swift",
        "Types/TimeProperties.swift",
        "UserInterface/ArtworkImage.swift",
        "UserInterface/CastButton.swift",
        "UserInterface/CastDevicesView.swift",
        "UserInterface/CastIcon.swift",
        "UserInterface/CastMiniPlayerView.swift",
        "UserInterface/CastPlayerView.swift",
        "UserInterface/CastProgressTracker.swift",
        "UserInterface/EmptyDevicesView.swift",
        "UserInterface/Player/ControlsView.swift",
        "UserInterface/Player/ItemCell.swift",
        "UserInterface/Player/LiveLabel.swift",
        "UserInterface/Player/MuteButton.swift",
        "UserInterface/Player/PlaybackButton.swift",
        "UserInterface/Player/PlaybackButtons.swift",
        "UserInterface/Player/PlaybackButtonsLayout.swift",
        "UserInterface/Player/PlaylistView.swift",
        "UserInterface/Player/SettingsButtons.swift",
        "UserInterface/Player/SettingsMenu.swift",
        "UserInterface/Player/SliderView.swift",
        "UserInterface/Player/VolumeIcon.swift",
        "UserInterface/UnavailableView.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: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:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/SRGSSR/google-cast-sdk.git
[1/7] Fetching google-cast-sdk
Fetched https://github.com/SRGSSR/google-cast-sdk.git from cache (0.20s)
Computing version for https://github.com/SRGSSR/google-cast-sdk.git
Computed https://github.com/SRGSSR/google-cast-sdk.git at 4.8.3 (2.35s)
Creating working copy for https://github.com/SRGSSR/google-cast-sdk.git
Working copy of https://github.com/SRGSSR/google-cast-sdk.git resolved at 4.8.3
Downloading binary artifact https://github.com/SRGSSR/google-cast-sdk/releases/download/4.8.3/GoogleCast.xcframework.zip
[1369/6520823] Downloading https://github.com/SRGSSR/google-cast-sdk/releases/download/4.8.3/GoogleCast.xcframework.zip
Downloaded https://github.com/SRGSSR/google-cast-sdk/releases/download/4.8.3/GoogleCast.xcframework.zip (0.89s)
error: Tool ‘PackageInfo’ is not supported on the target platform
error: build planning stopped due to build-tool plugin failures
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
error: Tool ‘PackageInfo’ is not supported on the target platform
error: build planning stopped due to build-tool plugin failures
BUILD FAILURE 6.1 wasm