Build Information
Failed to build SwiftMail, reference main (5ed501), with Swift 6.2 for Wasm on 16 Oct 2026 05:22:29 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Cocoanetics/SwiftMail.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/Cocoanetics/SwiftMail
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5ed5014 Make SMTP connection timeouts configurable and wait five minutes for the greeting (#256)
Cloned https://github.com/Cocoanetics/SwiftMail.git
Revision (git rev-parse @):
5ed5014074e6ee4940acfab18895628ffe45f166
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Cocoanetics/SwiftMail.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/Cocoanetics/SwiftMail.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0563b842faffea9ddc6fe15fbd2051d02dff3ef29dc4b5bfe0a0910a084eee81
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-nio-imap
[1/38048] Fetching swift-nio-imap
Fetched https://github.com/apple/swift-nio-imap from cache (1.29s)
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-nio-extras
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-log
Fetching https://github.com/apple/swift-collections
[1/8305] Fetching swift-log
[4818/25194] Fetching swift-log, swift-nio-ssl
Fetched https://github.com/apple/swift-log from cache (0.54s)
Fetching https://github.com/thebarndog/swift-dotenv
[1014/16889] Fetching swift-nio-ssl
[1859/23594] Fetching swift-nio-ssl, swift-nio-extras
[3713/52453] Fetching swift-nio-ssl, swift-nio-extras, swift-collections
[23816/138941] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio
[26153/139472] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio, swift-dotenv
Fetched https://github.com/thebarndog/swift-dotenv from cache (0.42s)
[33209/138941] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio
Fetching https://github.com/Cocoanetics/SwiftCross
[44947/158055] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio, swift-argument-parser
[85163/158175] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio, swift-argument-parser, swiftcross
Fetched https://github.com/Cocoanetics/SwiftCross from cache (0.56s)
Fetching https://github.com/apple/swift-testing
[106163/158055] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio, swift-argument-parser
[132975/202868] Fetching swift-nio-ssl, swift-nio-extras, swift-collections, swift-nio, swift-argument-parser, swift-testing
Fetched https://github.com/apple/swift-testing from cache (2.02s)
Fetched https://github.com/apple/swift-nio-extras from cache (5.53s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.53s)
Fetched https://github.com/apple/swift-nio-ssl from cache (5.54s)
Fetched https://github.com/apple/swift-collections from cache (5.54s)
Fetched https://github.com/apple/swift-nio from cache (5.57s)
Computing version for https://github.com/apple/swift-testing
Computed https://github.com/apple/swift-testing at 6.3.2 (7.11s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/80787] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (4.31s)
Computing version for https://github.com/Cocoanetics/SwiftCross
Computed https://github.com/Cocoanetics/SwiftCross at 1.2.0 (4.48s)
Computing version for https://github.com/thebarndog/swift-dotenv
Computed https://github.com/thebarndog/swift-dotenv at 2.1.0 (0.12s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.104.0 (0.39s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[1/7288] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.66s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (0.81s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.16.1 (0.15s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.5 (0.18s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.14s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.8.1 (0.18s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.35.1 (1.01s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
[1/1284] Fetching swift-http-structured-headers
[425/3335] Fetching swift-http-structured-headers, swift-asn1
[1507/6209] Fetching swift-http-structured-headers, swift-asn1, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.40s)
Fetching https://github.com/apple/swift-algorithms.git
[908/6864] Fetching swift-asn1, swift-service-lifecycle, swift-http-types
[6865/13685] Fetching swift-asn1, swift-service-lifecycle, swift-http-types, swift-async-algorithms
Fetching https://github.com/apple/swift-nio-http2.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.49s)
Fetching https://github.com/apple/swift-certificates.git
[5062/11746] Fetching swift-asn1, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-asn1.git from cache (0.61s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.61s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
[1/6159] Fetching swift-algorithms
[3820/13772] Fetching swift-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.56s)
[990/7613] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
[1/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.30s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.71s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.77s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.91s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.7.0 (0.13s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.8.0 (0.16s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.13.0 (0.13s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.7 (0.20s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (0.17s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.0 (0.19s)
Fetching https://github.com/apple/swift-crypto.git
[1/18642] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.44s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.0.1 (2.02s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.0 (0.15s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (0.25s)
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.7.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.0.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
Creating working copy for https://github.com/apple/swift-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.5
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/apple/swift-testing
Working copy of https://github.com/apple/swift-testing resolved at 6.3.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.8.0
Creating working copy for https://github.com/Cocoanetics/SwiftCross
Working copy of https://github.com/Cocoanetics/SwiftCross resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.1.7
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.0
Creating working copy for https://github.com/apple/swift-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.104.0
Creating working copy for https://github.com/apple/swift-nio-extras
Working copy of https://github.com/apple/swift-nio-extras resolved at 1.35.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-nio-imap
Working copy of https://github.com/apple/swift-nio-imap resolved at 14ad3887dab9ca5aba38ee0ace18fddf40e9491f
Creating working copy for https://github.com/thebarndog/swift-dotenv
Working copy of https://github.com/thebarndog/swift-dotenv resolved at 2.1.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.13.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/467] Compiling a_dup.cc
[3/467] Compiling a_d2i_fp.cc
[4/467] Write sources
[6/467] Compiling a_i2d_fp.cc
[6/467] Write sources
[26/467] Compiling c-atomics.c
[27/467] Compiling c-nioatomics.c
[28/467] Compiling _AtomicsShims.c
[29/467] Compiling CNIOWindows shim.c
[30/467] Compiling a_bitstr.cc
[31/467] Compiling CNIOOpenBSD shim.c
[32/467] Compiling CNIOWindows WSAStartup.c
[33/467] Compiling CNIOWASI CNIOWASI.c
[34/467] Compiling CNIOLinux shim.c
[35/467] Compiling CNIOLinux liburing_shims.c
[36/467] Compiling CNIOFreeBSD shim.c
[37/467] Compiling CNIOPosix event_loop_id.c
[38/467] Write swift-version-24593BA9C3E375BF.txt
[39/467] Compiling CNIODarwin shim.c
[40/467] Compiling fiat_p256_adx_sqr.S
[41/467] Compiling fiat_p256_adx_mul.S
[42/476] Compiling fiat_curve25519_adx_square.S
[43/476] Compiling fiat_curve25519_adx_mul.S
[44/476] Compiling CNIOBoringSSLShims shims.c
[46/507] Emitting module _NIODataStructures
[46/507] Compiling a_gentm.cc
[47/507] Compiling a_bool.cc
[48/535] Compiling tls_record.cc
[49/535] Compiling tls_method.cc
[51/535] Compiling Logging LoggingSystem.swift
[52/536] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[53/536] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[54/536] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[55/536] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[56/536] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[57/536] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[58/536] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[59/536] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[60/536] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[61/536] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[62/536] Compiling InternalCollectionsUtilities Span+Extras.swift
[63/536] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[64/536] Compiling InternalCollectionsUtilities String+Padding.swift
[65/536] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[66/536] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[67/539] Emitting module InternalCollectionsUtilities
[68/539] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[69/539] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[70/539] Compiling InternalCollectionsUtilities Debugging.swift
[71/539] Compiling InternalCollectionsUtilities Descriptions.swift
[72/539] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[73/539] Compiling InternalCollectionsUtilities Integer rank.swift
[74/539] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[75/539] Compiling InternalCollectionsUtilities UInt+reversed.swift
[76/539] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[77/539] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[78/539] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[79/539] Compiling InternalCollectionsUtilities MutableRef.swift
[80/539] Emitting module _NIOBase64
[81/539] Compiling _NIOBase64 Base64.swift
[83/540] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[84/540] Compiling InternalCollectionsUtilities _SortedCollection.swift
[85/540] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[88/541] Compiling Logging Logger+Attributes.swift
[89/541] Compiling Logging Logger.swift
[90/541] Compiling Logging Logger+With.swift
[91/541] Wrapping AST for _NIOBase64 for debugging
[93/545] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[94/545] Emitting module Logging
[95/545] Compiling NIOConcurrencyHelpers lock.swift
[96/545] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[97/545] Compiling SpanPreview InputSpan.swift
[98/545] Emitting module SpanPreview
[99/546] Compiling NIOConcurrencyHelpers NIOThreadPoolWorkAvailable.swift
[100/546] Compiling NIOConcurrencyHelpers NIOLockedValueBox.swift
[106/546] Compiling Logging MetadataProvider.swift
[108/547] Compiling _NIODataStructures _TinyArray.swift
[109/547] Compiling _NIODataStructures PriorityQueue.swift
[110/547] Compiling _NIODataStructures Heap.swift
[112/605] Emitting module NIOConcurrencyHelpers
[113/605] Compiling NIOConcurrencyHelpers atomics.swift
[114/605] Compiling NIOConcurrencyHelpers NIOLock.swift
[115/605] Compiling NIOConcurrencyHelpers NIOAtomic.swift
[115/605] Wrapping AST for SpanPreview for debugging
[117/638] Compiling DequeModule Deque._UnsafeHandle.swift
[118/638] Compiling DequeModule Deque.swift
[118/649] Wrapping AST for _NIODataStructures for debugging
[120/649] Wrapping AST for Logging for debugging
[122/649] Compiling SwiftCross WallClock.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCross/Sources/SwiftCross/WallClock.swift:47:23: error: cannot find 'CLOCK_REALTIME' in scope
45 | #else
46 | var time = timespec()
47 | clock_gettime(CLOCK_REALTIME, &time)
| `- error: cannot find 'CLOCK_REALTIME' in scope
48 | return (Int(time.tv_sec), Int(time.tv_nsec))
49 | #endif
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_time.h:20:9: note: macro 'CLOCK_REALTIME' unavailable: structure not supported
18 | #define CLOCK_MONOTONIC (&_CLOCK_MONOTONIC)
19 | extern const struct __clockid _CLOCK_REALTIME;
20 | #define CLOCK_REALTIME (&_CLOCK_REALTIME)
| `- note: macro 'CLOCK_REALTIME' unavailable: structure not supported
21 |
22 | /*
[122/649] Wrapping AST for NIOConcurrencyHelpers for debugging
[123/649] Wrapping AST for InternalCollectionsUtilities for debugging
[125/649] Compiling SwiftDotenv String+CamelCase.swift
/host/spi-builder-workspace/.build/checkouts/swift-dotenv/Sources/Dotenv.swift:4:8: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 | import Foundation
[126/649] Compiling DequeModule Deque+CustomReflectable.swift
[127/649] Compiling DequeModule Deque+Descriptions.swift
[128/649] Emitting module SwiftCross
[129/649] Compiling SwiftCross UTType.swift
[130/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[131/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[132/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[133/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[134/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[135/649] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[136/649] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[137/649] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[138/656] Compiling SwiftDotenv Dotenv.swift
/host/spi-builder-workspace/.build/checkouts/swift-dotenv/Sources/Dotenv.swift:4:8: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 | import Foundation
error: emit-module command failed with exit code 1 (use -v to see invocation)
[139/656] Emitting module SwiftDotenv
/host/spi-builder-workspace/.build/checkouts/swift-dotenv/Sources/Dotenv.swift:4:8: error: no such module 'Darwin'
2 | import Glibc
3 | #else
4 | import Darwin
| `- error: no such module 'Darwin'
5 | #endif
6 | import Foundation
[139/656] Compiling tls13_both.cc
[139/656] Compiling tls13_client.cc
[139/656] Compiling tls13_server.cc
[139/656] Compiling tls13_enc.cc
BUILD FAILURE 6.2 wasm