Build Information
Failed to build SwiftUpnpTools, reference master (74d790), with Swift 6.2 for Wasm on 20 Jun 2025 00:58:54 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/bjtj/swift-upnp-tools.git
Reference: master
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/bjtj/swift-upnp-tools
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 74d7901 Merge pull request #36 from bjtj/35-upnpserver-class-is-missing-another-header-field-in-event-message
Cloned https://github.com/bjtj/swift-upnp-tools.git
Revision (git rev-parse @):
74d790117ff3413e3b126cd4c021750f3dc079b9
SUCCESS checkout https://github.com/bjtj/swift-upnp-tools.git at master
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/bjtj/swift-upnp-tools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/bjtj/swift-xml.git
Fetching https://github.com/bjtj/swift-http-server.git
Fetching https://github.com/IBM-Swift/BlueSocket.git
[1/199] Fetching swift-xml
[200/953] Fetching swift-xml, swift-http-server
[954/3895] Fetching swift-xml, swift-http-server, bluesocket
Fetched https://github.com/bjtj/swift-http-server.git from cache (0.30s)
Fetched https://github.com/bjtj/swift-xml.git from cache (0.31s)
Fetched https://github.com/IBM-Swift/BlueSocket.git from cache (0.43s)
Computing version for https://github.com/bjtj/swift-xml.git
Computed https://github.com/bjtj/swift-xml.git at 0.1.14 (0.89s)
Computing version for https://github.com/bjtj/swift-http-server.git
Computed https://github.com/bjtj/swift-http-server.git at 0.1.23 (0.51s)
Computing version for https://github.com/IBM-Swift/BlueSocket.git
Computed https://github.com/IBM-Swift/BlueSocket.git at 1.0.200 (3.28s)
Creating working copy for https://github.com/bjtj/swift-http-server.git
Working copy of https://github.com/bjtj/swift-http-server.git resolved at 0.1.23
Creating working copy for https://github.com/IBM-Swift/BlueSocket.git
Working copy of https://github.com/IBM-Swift/BlueSocket.git resolved at 1.0.200
Creating working copy for https://github.com/bjtj/swift-xml.git
Working copy of https://github.com/bjtj/swift-xml.git resolved at 0.1.14
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/20] Compiling SwiftXml XmlText.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[7/21] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
[8/21] Compiling SwiftXml XmlAttribute.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[9/21] Compiling SwiftXml XmlComment.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[10/21] Compiling SwiftXml XmlDTD.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[11/21] Compiling SwiftXml XmlDocument.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[12/21] Compiling SwiftXml XmlElement.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[13/21] Compiling SwiftXml XmlNode.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/21] Emitting module SwiftXml
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[15/21] Compiling SwiftXml XmlParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[16/21] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
[17/21] Compiling SwiftXml XmlNodeType.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
[18/21] Compiling SwiftXml XmlParseError.swift
/host/spi-builder-workspace/.build/checkouts/swift-xml/Sources/swift-xml/XmlAttribute.swift:5:8: error: no such module 'Foundation'
3 | //
4 |
5 | import Foundation
| `- error: no such module 'Foundation'
6 |
7 | /**
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/21] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
[20/21] Compiling Socket SocketProtocols.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket.swift:27:8: error: no such module 'Foundation'
25 | #endif
26 |
27 | import Foundation
| `- error: no such module 'Foundation'
28 |
29 | // MARK: Socket
BUILD FAILURE 6.2 wasm