Build Information
Failed to build swift-webdriver, reference main (eb79ab
), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 17:40:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/thebrowsercompany/swift-webdriver.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/thebrowsercompany/swift-webdriver
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at eb79abd Implement protocol detection and protocol-agnostic session creation. (#187)
Cloned https://github.com/thebrowsercompany/swift-webdriver.git
Revision (git rev-parse @):
eb79abde86888ef086ca56c0c7ccd09a03757c2d
SUCCESS checkout https://github.com/thebrowsercompany/swift-webdriver.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/thebrowsercompany/swift-webdriver.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/27] Compiling WebDriver Requests+LegacySelenium.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[5/27] Compiling WebDriver Requests+W3C.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[6/27] Compiling WebDriver Requests.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[7/30] Compiling WebDriver Keys.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[8/30] Compiling WebDriver Location.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[9/30] Compiling WebDriver MouseButton.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/30] Emitting module TestsCommon
/host/spi-builder-workspace/Tests/Common/PNGUtilities.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public func isPNG(data: Data) -> Bool {
[11/30] Compiling TestsCommon PNGUtilities.swift
/host/spi-builder-workspace/Tests/Common/PNGUtilities.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | public func isPNG(data: Data) -> Bool {
[12/30] Compiling WebDriver NoSuchElementError.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[13/30] Compiling WebDriver Poll.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[14/30] Compiling WebDriver Request.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[15/30] Compiling WebDriver WebDriverStatus.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[16/30] Compiling WebDriver Window.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[17/30] Compiling WebDriver WireProtocol.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[18/30] Compiling WebDriver ScreenOrientation.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[19/30] Compiling WebDriver Session.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[20/30] Compiling WebDriver TimeoutType.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[21/30] Compiling WebDriver TouchClickKind.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[22/30] Compiling WebDriver URLRequestExtensions.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[23/30] Compiling WebDriver WebDriver.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[24/30] Compiling WebDriver ElementLocator.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[25/30] Compiling WebDriver ErrorResponse.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
[26/30] Compiling WebDriver HTTPWebDriver.swift
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/30] Emitting module WebDriver
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
/host/spi-builder-workspace/Sources/WebDriver/Element.swift:1:15: error: no such module 'Foundation'
1 | import struct Foundation.TimeInterval
| `- error: no such module 'Foundation'
2 |
3 | // Represents an element in the WebDriver protocol.
BUILD FAILURE 6.2 wasm