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 main (8dad32), with Swift 6.1 for Wasm on 16 Jun 2025 14:57:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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/SRGSSR/castor.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/SRGSSR/castor
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 8dad32e Fix initial states (#114)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
8dad32e93013457da5b8c23a3f537b585c4d744a
SUCCESS checkout https://github.com/SRGSSR/castor.git at main
========================================
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"
    },
    {
      "name" : "tvos",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "Castor",
      "targets" : [
        "Castor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CastorTests",
      "module_type" : "SwiftTarget",
      "name" : "CastorTests",
      "path" : "Tests/CastorTests",
      "sources" : [
        "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/Localizable.xcstrings",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "Cast/Cast.swift",
        "Cast/CastConfiguration.swift",
        "Cast/CastDevice.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/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "Player/CastAsset.swift",
        "Player/CastPlaybackConfiguration.swift",
        "Player/CastPlayer+Items.swift",
        "Player/CastPlayer+MediaSelection.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",
        "Protocols/MutableReceiverStateRecipe.swift",
        "Protocols/ReceiverStateRecipe.swift",
        "Recipes/ActiveTracksRecipe.swift",
        "Recipes/CurrentItemIdRecipe.swift",
        "Recipes/DevicesRecipe.swift",
        "Recipes/ItemsRecipe.swift",
        "Recipes/MediaStatusRecipe.swift",
        "Recipes/MutedRecipe.swift",
        "Recipes/PlaybackSpeedRecipe.swift",
        "Recipes/RepeatModeRecipe.swift",
        "Recipes/ShouldPlayRecipe.swift",
        "Recipes/TargetSeekTimeRecipe.swift",
        "Recipes/VolumeRecipe.swift",
        "Types/CastMetadata.swift",
        "Types/CastRepeatMode.swift",
        "Types/CastSettingsUpdate.swift",
        "Types/CastSkip.swift",
        "Types/MediaSelectionOption.swift",
        "Types/TimeProperties.swift",
        "UserInterface/CastButton.swift",
        "UserInterface/CastExpandedMediaControlsView.swift",
        "UserInterface/CastMiniMediaControlsView.swift",
        "UserInterface/CastProgressTracker.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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.32s)
Computing version for https://github.com/SRGSSR/google-cast-sdk.git
Computed https://github.com/SRGSSR/google-cast-sdk.git at 4.8.3 (4.54s)
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
[1397/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 (1.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-4606859-3":/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:8f9255989265d824b88e7d572b1a334a0dc9b701075ede1970390db95d315c35
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