The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-mail-automation, reference v1.0.0 (591962), with Swift 6.1 for Linux on 23 Apr 2026 00:33:05 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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 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: v1.0.0
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
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 5919625 release: 1.0.0
Cloned https://github.com/chrischall/swift-mail-automation.git
Revision (git rev-parse @):
5919625e0a6c6ad08b9d9337af0e132bfac5a54e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/chrischall/swift-mail-automation.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -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
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-log.git
[1/6636] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.50s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (1.08s)
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] 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
[6/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
[7/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
[8/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
[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] 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
[12/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
[13/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
[14/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
[15/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
[16/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")
[17/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
[18/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
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:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a7bfd71e9384436264431030299dc8a2d42d0664a168cfa1a5dd84c9bc592ccf
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/7] Compiling Logging Locks.swift
[3/7] Emitting module Logging
[4/7] Compiling Logging LogHandler.swift
[5/7] Compiling Logging MetadataProvider.swift
[6/7] Compiling Logging LogEvent.swift
[7/7] Compiling Logging Logging.swift
[9/16] Compiling MailAutomation AppleScriptRunner.swift
[10/16] Compiling MailAutomation EmailMessage.swift
[11/16] Emitting module MailAutomation
[12/16] Compiling MailAutomation SpotlightMailSearch.swift
[13/16] Compiling MailAutomation StringHelpers.swift
[14/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")
[15/16] Compiling MailAutomation ISODate.swift
[16/16] Compiling MailAutomation MailService.swift
BUILD FAILURE 6.1 linux