The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftDownloadManager, reference main (98d8f5), with Swift 6.1 for Wasm on 28 May 2025 05:47:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/vberihuete/swift-download-manager.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/vberihuete/swift-download-manager
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 98d8f5d Create CONTRIBUTING.md
Cloned https://github.com/vberihuete/swift-download-manager.git
Revision (git rev-parse @):
98d8f5d2012ed6ff615490fa7a4d68b260f5e84d
SUCCESS checkout https://github.com/vberihuete/swift-download-manager.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/vberihuete/swift-download-manager.git
https://github.com/vberihuete/swift-download-manager.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "nimble",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.2.1",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Nimble.git"
    },
    {
      "identity" : "quick",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Quick/Quick.git"
    }
  ],
  "manifest_display_name" : "SwiftDownloadManager",
  "name" : "SwiftDownloadManager",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftDownloadManager",
      "targets" : [
        "swift-download-manager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_download_managerTests",
      "module_type" : "SwiftTarget",
      "name" : "swift-download-managerTests",
      "path" : "Tests/swift-download-managerTests",
      "product_dependencies" : [
        "Quick",
        "Nimble"
      ],
      "sources" : [
        "Interactor/DownloadInteractorSpec.swift",
        "Interactor/ObservableURLDownloadTaskInteractorSpec.swift",
        "Mocks/DownloadRepositoryMock.swift",
        "Mocks/DownloadStorageServiceMock.swift",
        "Mocks/FileManagerInteractorMock.swift",
        "Mocks/MockFunc.swift",
        "Mocks/ObservableURLDownloadTaskInteractorMock.swift",
        "Mocks/URLSessionDelegateMock.swift",
        "Mocks/URLSessionServiceMock.swift",
        "Repository/DownloadRepositorySpec.swift",
        "Repository/DownloadStorageServiceSpec.swift"
      ],
      "target_dependencies" : [
        "swift-download-manager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "swift_download_manager",
      "module_type" : "SwiftTarget",
      "name" : "swift-download-manager",
      "path" : "Sources/swift-download-manager",
      "product_memberships" : [
        "SwiftDownloadManager"
      ],
      "sources" : [
        "Interactor/Cases/DefaultDownloadInteractor.swift",
        "Interactor/Cases/EntityDownloadInteractor.swift",
        "Interactor/Cases/ImageDownloaderInteractor.swift",
        "Interactor/DownloadInteractor.swift",
        "Interactor/FileManagerInteractor.swift",
        "Interactor/ObservableURLDownloadTaskInteractor.swift",
        "Interactor/URLSessionService.swift",
        "Repository/Download/DownloadRepository.swift",
        "Repository/Download/Model/CompletedDownload.swift",
        "Repository/Download/Model/Download.swift",
        "Repository/Download/Model/DownloadProgress.swift",
        "Repository/Download/Model/InterruptedDownload.swift",
        "Repository/Download/Service/DownloadStorageService.swift",
        "Utility/DownloadError.swift",
        "Utility/IgnoreEquatable.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/Quick/Quick.git
Fetching https://github.com/Quick/Nimble.git
[1/14755] Fetching quick
[1329/34339] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git from cache (1.21s)
[15668/19584] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (3.41s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (5.61s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.07s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.45s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (1.56s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.39s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.36s)
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/17] Emitting module swift_download_manager
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[4/18] Compiling swift_download_manager FileManagerInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[5/18] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[6/18] Compiling swift_download_manager URLSessionService.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[7/18] Compiling swift_download_manager DownloadRepository.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[8/18] Compiling swift_download_manager ImageDownloaderInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[9/18] Compiling swift_download_manager DownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[10/18] Compiling swift_download_manager DefaultDownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[11/18] Compiling swift_download_manager EntityDownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[12/18] Compiling swift_download_manager IgnoreEquatable.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[13/18] Compiling swift_download_manager DownloadStorageService.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[14/18] Compiling swift_download_manager DownloadError.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[15/18] Compiling swift_download_manager DownloadProgress.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[16/18] Compiling swift_download_manager InterruptedDownload.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[17/18] Compiling swift_download_manager CompletedDownload.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[18/18] Compiling swift_download_manager Download.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] Compiling swift_download_manager DownloadStorageService.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[3/16] Compiling swift_download_manager DownloadError.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/17] Emitting module swift_download_manager
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[5/17] Compiling swift_download_manager DownloadProgress.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[6/17] Compiling swift_download_manager InterruptedDownload.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[7/17] Compiling swift_download_manager FileManagerInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[8/17] Compiling swift_download_manager ObservableURLDownloadTaskInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[9/17] Compiling swift_download_manager URLSessionService.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[10/17] Compiling swift_download_manager DownloadRepository.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[11/17] Compiling swift_download_manager CompletedDownload.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[12/17] Compiling swift_download_manager Download.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[13/17] Compiling swift_download_manager IgnoreEquatable.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[14/17] Compiling swift_download_manager DefaultDownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[15/17] Compiling swift_download_manager EntityDownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[16/17] Compiling swift_download_manager ImageDownloaderInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
[17/17] Compiling swift_download_manager DownloadInteractor.swift
/host/spi-builder-workspace/Sources/swift-download-manager/Interactor/Cases/EntityDownloadInteractor.swift:9:8: error: no such module 'RealityKit'
 7 |
 8 | import Foundation
 9 | import RealityKit
   |        `- error: no such module 'RealityKit'
10 |
11 | @available(iOS 13, *)
BUILD FAILURE 6.1 wasm