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 1.2.0 (d9709d), with Swift 6.1 for Wasm on 31 May 2025 08:06:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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: 1.2.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/superturboryan/SoundCloud-Swift
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at d9709d5 Package: Add macOS support
Cloned https://github.com/superturboryan/SoundCloud-Swift.git
Revision (git rev-parse @):
d9709d51857fc3e4102b619bd7aa11ee65a7d31b
SUCCESS checkout https://github.com/superturboryan/SoundCloud-Swift.git at 1.2.0
========================================
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-4606859-2":/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 (1.25s)
Computing version for https://github.com/evgenyneu/keychain-swift
Computed https://github.com/evgenyneu/keychain-swift at 20.0.0 (4.89s)
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/Localizable.xcstrings
    /host/spi-builder-workspace/Sources/SoundCloud/Assets.xcassets
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 |
[5/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/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 |
[7/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
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
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] 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 |
[3/9] 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 |
[4/9] 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 |
[5/9] 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 |
BUILD FAILURE 6.1 wasm