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 SoundCloud, reference main (d02675), with Swift 6.1 for Wasm on 31 May 2025 04:21:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/superturboryan/SoundCloud-Swift.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/superturboryan/SoundCloud-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at d02675c README: Update banner
Cloned https://github.com/superturboryan/SoundCloud-Swift.git
Revision (git rev-parse @):
d02675ce12216ac371db3229582cda833f4ad38f
SUCCESS checkout https://github.com/superturboryan/SoundCloud-Swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/superturboryan/SoundCloud-Swift.git
https://github.com/superturboryan/SoundCloud-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "default_localization" : "en",
  "dependencies" : [
    {
      "identity" : "keychain-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "20.0.0",
            "upper_bound" : "21.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/evgenyneu/keychain-swift"
    }
  ],
  "manifest_display_name" : "SoundCloud",
  "name" : "SoundCloud",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "15.0"
    },
    {
      "name" : "watchos",
      "version" : "9.0"
    },
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "SoundCloud",
      "targets" : [
        "SoundCloud"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SoundCloudTests",
      "module_type" : "SwiftTarget",
      "name" : "SoundCloudTests",
      "path" : "Tests/SoundCloudTests",
      "sources" : [
        "SoundCloudTests.swift"
      ],
      "target_dependencies" : [
        "SoundCloud"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SoundCloud",
      "module_type" : "SwiftTarget",
      "name" : "SoundCloud",
      "path" : "Sources/SoundCloud",
      "product_dependencies" : [
        "KeychainSwift"
      ],
      "product_memberships" : [
        "SoundCloud"
      ],
      "sources" : [
        "Config.swift",
        "DAO/DAO.swift",
        "DAO/KeychainDAO.swift",
        "DAO/UserDefaultsDAO.swift",
        "Error.swift",
        "Extension/ASWebAuthenticationSession.swift",
        "Extension/Collection.swift",
        "Extension/Color.swift",
        "Extension/Image.swift",
        "Extension/Int.swift",
        "Extension/LinearGradient.swift",
        "Extension/Logger.swift",
        "Extension/PKCE.swift",
        "Extension/URL.swift",
        "Models/Page.swift",
        "Models/Playlist.swift",
        "Models/Status.swift",
        "Models/StatusCode.swift",
        "Models/StreamInfo.swift",
        "Models/Test Models.swift",
        "Models/TokenResponse.swift",
        "Models/Track.swift",
        "Models/User.swift",
        "Request.swift",
        "SoundCloud.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.11"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/evgenyneu/keychain-swift
[1/2201] Fetching keychain-swift
Fetched https://github.com/evgenyneu/keychain-swift from cache (0.25s)
Computing version for https://github.com/evgenyneu/keychain-swift
Computed https://github.com/evgenyneu/keychain-swift at 20.0.0 (2.06s)
Creating working copy for https://github.com/evgenyneu/keychain-swift
Working copy of https://github.com/evgenyneu/keychain-swift resolved at 20.0.0
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/SoundCloud/Assets.xcassets
    /host/spi-builder-workspace/Sources/SoundCloud/Localizable.xcstrings
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/11] Compiling KeychainSwift TegKeychainConstants.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Emitting module KeychainSwift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[6/11] Compiling KeychainSwift KeychainSwiftAccessOptions.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
[7/11] Compiling KeychainSwift KeychainSwift.swift
/host/spi-builder-workspace/.build/checkouts/keychain-swift/Sources/KeychainSwift.swift:1:8: error: no such module 'Security'
  1 | import Security
    |        `- error: no such module 'Security'
  2 | import Foundation
  3 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
docker: Error response from daemon: Head "https://registry.gitlab.com/v2/finestructure/spi-images/manifests/wasm-6.1-latest": received unexpected HTTP status: 502 Bad Gateway
Run 'docker run --help' for more information
BUILD FAILURE 6.1 wasm