The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mail-automation, reference main (cd1d21), with Swift 6.1 for Android on 4 May 2026 04:05:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build 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:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/chrischall/swift-mail-automation.git
https://github.com/chrischall/swift-mail-automation.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-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.56s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.23s)
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 MetadataProvider.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/9] Compiling Logging Locks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/9] Emitting module Logging
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[7/9] Compiling Logging LogEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[8/9] Compiling Logging LogHandler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/9] Compiling Logging Logging.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/18] Emitting module MailAutomation
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/18] Compiling MailAutomation StringHelpers.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/18] Compiling MailAutomation NSAppleScriptRunner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 SpotlightMailSearch.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/18] Compiling MailAutomation EmailMessage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/18] Compiling MailAutomation MailService.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/18] Compiling MailAutomation ISODate.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/18] Compiling MailAutomation AppleScriptRunner.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d37fe7b8fba27dae59fb1d9d7dfa86b38b41ffb3975924aad6f05cb4cc3de131
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Logging MetadataProvider.swift
[3/7] Emitting module Logging
[4/7] Compiling Logging Locks.swift
[5/7] Compiling Logging LogHandler.swift
[6/7] Compiling Logging LogEvent.swift
[7/7] Compiling Logging Logging.swift
[9/16] Compiling MailAutomation ISODate.swift
[10/16] Compiling MailAutomation EmailMessage.swift
[11/16] Compiling MailAutomation AppleScriptRunner.swift
[12/16] Emitting module MailAutomation
[13/16] Compiling MailAutomation SpotlightMailSearch.swift
[14/16] Compiling MailAutomation StringHelpers.swift
[15/16] 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")
[16/16] Compiling MailAutomation MailService.swift
BUILD FAILURE 6.1 android