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 (5a6b50), with Swift 6.1 for Linux on 23 Jun 2025 11:16:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.64.0
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 5a6b50a Avoid blurry images for skip buttons (#128)
Cloned https://github.com/SRGSSR/castor.git
Revision (git rev-parse @):
5a6b50ad12cc38c4e748739449d46ec37961905f
SUCCESS checkout https://github.com/SRGSSR/castor.git at main
========================================
Build
========================================
Selected platform:         linux
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/GCKSessionTraits.swift",
        "Extensions/Publishers.swift",
        "Extensions/RangeReplaceableCollection.swift",
        "Extensions/Slider.swift",
        "Extensions/View.swift",
        "Player/CastAsset.swift",
        "Player/CastPlaybackConfiguration.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",
        "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/CastImage.swift",
        "Types/CastImageHints.swift",
        "Types/CastMediaSelectionOption.swift",
        "Types/CastMediaTrack.swift",
        "Types/CastMetadata.swift",
        "Types/CastNavigationMode.swift",
        "Types/CastRepeatMode.swift",
        "Types/CastSettingsUpdate.swift",
        "Types/CastSkip.swift",
        "Types/TimeProperties.swift",
        "UserInterface/CastButton.swift",
        "UserInterface/CastExpandedMediaControlsView.swift",
        "UserInterface/CastMiniMediaControlsView.swift",
        "UserInterface/CastProgressTracker.swift"
      ],
      "target_dependencies" : [
        "CastorPackageInfoPlugin"
      ],
      "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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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.28s)
Computing version for https://github.com/SRGSSR/google-cast-sdk.git
Computed https://github.com/SRGSSR/google-cast-sdk.git at 4.8.3 (3.59s)
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
[16375/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.58s)
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-0":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-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 linux