The Swift Package Index logo.Swift Package Index

Build Information

Failed to build APIAlerts, reference main (36f829), with Swift 6.1 for Wasm on 30 May 2025 05:27:19 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/apialerts/apialerts-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/apialerts/apialerts-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 36f8294 readme and contributing update
Cloned https://github.com/apialerts/apialerts-swift.git
Revision (git rev-parse @):
36f82941b82cf41eafeec47f3243ba015e4e2471
SUCCESS checkout https://github.com/apialerts/apialerts-swift.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/apialerts/apialerts-swift.git
https://github.com/apialerts/apialerts-swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "APIAlerts",
  "name" : "APIAlerts",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "visionos",
      "version" : "1.0"
    },
    {
      "name" : "watchos",
      "version" : "4.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "APIAlerts",
      "targets" : [
        "APIAlerts"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "APIAlertsTests",
      "module_type" : "SwiftTarget",
      "name" : "APIAlertsTests",
      "path" : "Tests/APIAlertsTests",
      "sources" : [
        "ConstantsTest.swift",
        "Network/Contract/ErrorResponseTests.swift",
        "Network/Contract/EventRequestTests.swift",
        "Network/Contract/EventResponseTests.swift",
        "Network/Util/HttpMethodTests.swift"
      ],
      "target_dependencies" : [
        "APIAlerts"
      ],
      "type" : "test"
    },
    {
      "c99name" : "APIAlerts",
      "module_type" : "SwiftTarget",
      "name" : "APIAlerts",
      "path" : "Sources",
      "product_memberships" : [
        "APIAlerts"
      ],
      "sources" : [
        "apialerts-swift/APIAlerts.swift",
        "apialerts-swift/Client.swift",
        "apialerts-swift/Constants.swift",
        "apialerts-swift/Network/Contract/ErrorResponse.swift",
        "apialerts-swift/Network/Contract/EventRequest.swift",
        "apialerts-swift/Network/Contract/EventResponse.swift",
        "apialerts-swift/Network/Endpoints.swift",
        "apialerts-swift/Network/ErrorObject.swift",
        "apialerts-swift/Network/Util/EncoderDecoder.swift",
        "apialerts-swift/Network/Util/HttpMethod.swift",
        "apialerts-swift/Network/Util/Network.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling APIAlerts APIAlerts.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[4/13] Compiling APIAlerts Client.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[5/14] Compiling APIAlerts HttpMethod.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[6/14] Compiling APIAlerts Network.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[7/14] Compiling APIAlerts EncoderDecoder.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[8/14] Compiling APIAlerts Endpoints.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[9/14] Compiling APIAlerts EventRequest.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[10/14] Compiling APIAlerts EventResponse.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[11/14] Compiling APIAlerts ErrorObject.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/14] Emitting module APIAlerts
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[13/14] Compiling APIAlerts Constants.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[14/14] Compiling APIAlerts ErrorResponse.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/12] Compiling APIAlerts HttpMethod.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[3/13] Compiling APIAlerts Constants.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[4/13] Compiling APIAlerts ErrorResponse.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[5/13] Compiling APIAlerts ErrorObject.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[6/13] Compiling APIAlerts EncoderDecoder.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[7/13] Compiling APIAlerts Endpoints.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[8/13] Compiling APIAlerts Network.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[9/13] Compiling APIAlerts EventRequest.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[10/13] Compiling APIAlerts EventResponse.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[11/13] Compiling APIAlerts APIAlerts.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
[12/13] Compiling APIAlerts Client.swift
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/13] Emitting module APIAlerts
/host/spi-builder-workspace/Sources/apialerts-swift/APIAlerts.swift:1:8: error: no such module 'SwiftUI'
 1 | import SwiftUI
   |        `- error: no such module 'SwiftUI'
 2 |
 3 | /// API Alerts Client
BUILD FAILURE 6.1 wasm