The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftSMTP, reference 6.0.0 (4b7666), with Swift 6.2 (beta) for Wasm on 20 Jun 2025 11:59:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Kitura/Swift-SMTP.git
Reference: 6.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/Kitura/Swift-SMTP
 * tag               6.0.0      -> FETCH_HEAD
HEAD is now at 4b7666b Misc dependency update (#125)
Cloned https://github.com/Kitura/Swift-SMTP.git
Revision (git rev-parse @):
4b7666bb8cee33f0cb367786af17b9a2ebb63047
SUCCESS checkout https://github.com/Kitura/Swift-SMTP.git at 6.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Kitura/Swift-SMTP.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/Kitura/BlueSocket.git
Fetching https://github.com/Kitura/BlueSSLService.git
Fetching https://github.com/Kitura/BlueCryptor.git
Fetching https://github.com/Kitura/LoggerAPI.git
[1/2077] Fetching bluesslservice
[625/5019] Fetching bluesslservice, bluesocket
[1279/5790] Fetching bluesslservice, bluesocket, loggerapi
[3722/7444] Fetching bluesslservice, bluesocket, loggerapi, bluecryptor
Fetched https://github.com/Kitura/LoggerAPI.git from cache (0.42s)
Fetched https://github.com/Kitura/BlueSSLService.git from cache (0.42s)
Fetched https://github.com/Kitura/BlueCryptor.git from cache (0.42s)
Fetched https://github.com/Kitura/BlueSocket.git from cache (0.43s)
Computing version for https://github.com/Kitura/LoggerAPI.git
Computed https://github.com/Kitura/LoggerAPI.git at 1.9.200 (1.33s)
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/Kitura/BlueCryptor.git
Computed https://github.com/Kitura/BlueCryptor.git at 2.0.2 (0.98s)
Fetching https://github.com/Kitura/OpenSSL.git
[1/203] Fetching openssl
Fetched https://github.com/Kitura/OpenSSL.git from cache (0.24s)
Computing version for https://github.com/Kitura/BlueSSLService.git
Computed https://github.com/Kitura/BlueSSLService.git at 2.0.2 (0.69s)
Computing version for https://github.com/Kitura/OpenSSL.git
Computed https://github.com/Kitura/OpenSSL.git at 2.3.1 (3.03s)
Computing version for https://github.com/Kitura/BlueSocket.git
Computed https://github.com/Kitura/BlueSocket.git at 2.0.4 (0.94s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.87s)
Creating working copy for https://github.com/Kitura/OpenSSL.git
Working copy of https://github.com/Kitura/OpenSSL.git resolved at 2.3.1
Creating working copy for https://github.com/Kitura/LoggerAPI.git
Working copy of https://github.com/Kitura/LoggerAPI.git resolved at 1.9.200
Creating working copy for https://github.com/Kitura/BlueSSLService.git
Working copy of https://github.com/Kitura/BlueSSLService.git resolved at 2.0.2
Creating working copy for https://github.com/Kitura/BlueSocket.git
Working copy of https://github.com/Kitura/BlueSocket.git resolved at 2.0.4
Creating working copy for https://github.com/Kitura/BlueCryptor.git
Working copy of https://github.com/Kitura/BlueCryptor.git resolved at 2.0.2
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
warning: you may be able to install openssl using your system-packager:
    apt-get install openssl libssl-dev
Building for debugging...
[0/7] Write sources
[6/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/29] Emitting module Socket
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[9/29] Compiling Socket SocketProtocols.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[10/29] Compiling Socket SocketUtils.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[11/29] Compiling Socket Socket+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[12/29] Compiling Socket Socket+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[13/29] Compiling Socket Socket.swift
/host/spi-builder-workspace/.build/checkouts/BlueSocket/Sources/Socket/Socket+Equatable.swift:21:8: error: no such module 'Foundation'
19 | //
20 |
21 | import Foundation
   |        `- error: no such module 'Foundation'
22 |
23 | extension Socket: Equatable {
[14/29] Compiling Logging LogHandler.swift
[15/29] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/29] Emitting module Cryptor
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[17/29] Compiling Cryptor Crypto.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[18/29] Compiling Cryptor Cryptor.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[19/29] Compiling Cryptor KeyDerivation.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[20/29] Compiling Cryptor Random.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[21/29] Compiling Cryptor Digest.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[22/29] Compiling Cryptor HMAC.swift
/host/spi-builder-workspace/.build/checkouts/BlueCryptor/Sources/Cryptor/Crypto.swift:18:8: error: no such module 'Foundation'
 16 | //
 17 |
 18 | import Foundation
    |        `- error: no such module 'Foundation'
 19 |
 20 | ///
[23/30] Compiling Logging Locks.swift
BUILD FAILURE 6.2 wasm