Build Information
Failed to build swift-mail-automation, reference main (cd1d21), with Swift 6.2 for Wasm on 4 May 2026 04:05:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chrischall/swift-mail-automation.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/chrischall/swift-mail-automation
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cd1d21e chore: add dependabot config
Cloned https://github.com/chrischall/swift-mail-automation.git
Revision (git rev-parse @):
cd1d21e8ab513d3ba37bf45ba1bac7dd36a566af
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/chrischall/swift-mail-automation.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/chrischall/swift-mail-automation.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-log.git
[1/6811] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.00s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.12.0
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/9] Compiling Logging LogEvent.swift
[5/9] Emitting module Logging
[6/9] Compiling Logging Locks.swift
[7/9] Compiling Logging MetadataProvider.swift
[8/9] Compiling Logging LogHandler.swift
[9/9] Compiling Logging Logging.swift
[11/18] Compiling MailAutomation StringHelpers.swift
[12/18] Compiling MailAutomation SpotlightMailSearch.swift
/host/spi-builder-workspace/Sources/MailAutomation/SpotlightMailSearch.swift:203:28: error: cannot find 'Process' in scope
201 | { args in
202 | try await withCheckedThrowingContinuation { cont in
203 | let task = Process()
| `- error: cannot find 'Process' in scope
204 | task.executableURL = executableURL
205 | task.arguments = args
[13/18] Compiling MailAutomation NSAppleScriptRunner.swift
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:27:32: error: cannot find 'NSAppleScript' in scope
25 | // inside a detached Task so its lifecycle stays on one thread.
26 | try await Task.detached(priority: .userInitiated) { () throws -> String in
27 | guard let script = NSAppleScript(source: source) else {
| `- error: cannot find 'NSAppleScript' in scope
28 | throw AppleScriptError.compile("Failed to construct NSAppleScript")
29 | }
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:33:37: error: cannot find 'NSAppleScript' in scope
31 | let descriptor = script.executeAndReturnError(&errorInfo)
32 | if let errorInfo {
33 | let msg = errorInfo[NSAppleScript.errorMessage] as? String
| `- error: cannot find 'NSAppleScript' in scope
34 | ?? errorInfo[NSAppleScript.errorBriefMessage] as? String
35 | ?? "AppleScript error \(errorInfo[NSAppleScript.errorNumber] ?? "?")"
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:34:34: error: cannot find 'NSAppleScript' in scope
32 | if let errorInfo {
33 | let msg = errorInfo[NSAppleScript.errorMessage] as? String
34 | ?? errorInfo[NSAppleScript.errorBriefMessage] as? String
| `- error: cannot find 'NSAppleScript' in scope
35 | ?? "AppleScript error \(errorInfo[NSAppleScript.errorNumber] ?? "?")"
36 | throw AppleScriptError.runtime(msg)
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:35:55: error: cannot find 'NSAppleScript' in scope
33 | let msg = errorInfo[NSAppleScript.errorMessage] as? String
34 | ?? errorInfo[NSAppleScript.errorBriefMessage] as? String
35 | ?? "AppleScript error \(errorInfo[NSAppleScript.errorNumber] ?? "?")"
| `- error: cannot find 'NSAppleScript' in scope
36 | throw AppleScriptError.runtime(msg)
37 | }
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:26:13: warning: no 'async' operations occur within 'await' expression
24 | // NSAppleScript isn't Sendable; construct + execute it entirely
25 | // inside a detached Task so its lifecycle stays on one thread.
26 | try await Task.detached(priority: .userInitiated) { () throws -> String in
| `- warning: no 'async' operations occur within 'await' expression
27 | guard let script = NSAppleScript(source: source) else {
28 | throw AppleScriptError.compile("Failed to construct NSAppleScript")
/host/spi-builder-workspace/Sources/MailAutomation/NSAppleScriptRunner.swift:26:9: warning: no calls to throwing functions occur within 'try' expression
24 | // NSAppleScript isn't Sendable; construct + execute it entirely
25 | // inside a detached Task so its lifecycle stays on one thread.
26 | try await Task.detached(priority: .userInitiated) { () throws -> String in
| `- warning: no calls to throwing functions occur within 'try' expression
27 | guard let script = NSAppleScript(source: source) else {
28 | throw AppleScriptError.compile("Failed to construct NSAppleScript")
[14/18] Compiling MailAutomation ISODate.swift
[15/18] Emitting module MailAutomation
[16/18] Compiling MailAutomation EmailMessage.swift
[17/18] Compiling MailAutomation AppleScriptRunner.swift
[18/18] Compiling MailAutomation MailService.swift
BUILD FAILURE 6.2 wasm