The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftMail, reference main (e89c14), with Swift 6.3 for Wasm on 29 Nov 2026 18:42:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
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 e89c14d Add customRoots verification policy to trust a private CA or self-signed certificate (#347)
Cloned https://github.com/Cocoanetics/SwiftMail.git
Revision (git rev-parse @):
e89c14d160f2d9e80a17ff0cccc6cf31cc4ca953
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Cocoanetics/SwiftMail.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Cocoanetics/SwiftMail.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:c3e9b647a8a44b039f995a08aedc0aa863ba107df357cae1fa410b778751f9d2
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-nio-imap
[1/40468] Fetching swift-nio-imap
Fetched https://github.com/apple/swift-nio-imap from cache (1.32s)
Fetching https://github.com/apple/swift-testing
Fetching https://github.com/apple/swift-nio-extras
Fetching https://github.com/thebarndog/swift-dotenv
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-collections
Fetching https://github.com/apple/swift-log
[1/531] Fetching swift-dotenv
[532/9128] Fetching swift-dotenv, swift-log
[533/15918] Fetching swift-dotenv, swift-log, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras from cache (0.53s)
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/apple/swift-log from cache (0.54s)
Fetching https://github.com/apple/swift-nio-ssl
[1/30565] Fetching swift-collections
[20786/77840] Fetching swift-collections, swift-testing
[24760/94853] Fetching swift-collections, swift-testing, swift-nio-ssl
[36485/114324] Fetching swift-collections, swift-testing, swift-nio-ssl, swift-argument-parser
Fetched https://github.com/apple/swift-collections from cache (1.33s)
[68825/83759] Fetching swift-testing, swift-nio-ssl, swift-argument-parser
Fetching https://github.com/Cocoanetics/SwiftCross
Fetched https://github.com/apple/swift-argument-parser from cache (0.91s)
[62757/64288] Fetching swift-testing, swift-nio-ssl
[64289/151537] Fetching swift-testing, swift-nio-ssl, swift-nio
[69524/151657] Fetching swift-testing, swift-nio-ssl, swift-nio, swiftcross
Fetched https://github.com/Cocoanetics/SwiftCross from cache (0.40s)
[76503/151537] Fetching swift-testing, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-testing from cache (1.82s)
[44061/104262] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl from cache (1.39s)
[45370/87249] Fetching swift-nio
Fetched https://github.com/thebarndog/swift-dotenv from cache (3.85s)
Fetched https://github.com/apple/swift-nio from cache (3.88s)
Computing version for https://github.com/apple/swift-testing
Computed https://github.com/apple/swift-testing at 6.3.2 (5.14s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/82526] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (3.12s)
Computing version for https://github.com/Cocoanetics/SwiftCross
Computed https://github.com/Cocoanetics/SwiftCross at 1.2.0 (3.27s)
Computing version for https://github.com/thebarndog/swift-dotenv
Computed https://github.com/thebarndog/swift-dotenv at 2.1.0 (0.13s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.105.2 (0.27s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1936] Fetching swift-atomics
[1937/9537] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.66s)
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
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-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.8 (0.18s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.17.2 (0.15s)
Computing version for https://github.com/apple/swift-collections
Computed https://github.com/apple/swift-collections at 1.7.6 (0.23s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.15s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.9.0 (0.17s)
Computing version for https://github.com/apple/swift-nio-extras
Computed https://github.com/apple/swift-nio-extras at 1.35.3 (0.97s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
[1/1990] Fetching swift-http-types
[1991/3274] Fetching swift-http-types, swift-http-structured-headers
[2210/6211] Fetching swift-http-types, swift-http-structured-headers, swift-service-lifecycle
Fetched https://github.com/apple/swift-http-types.git from cache (0.39s)
Fetching https://github.com/apple/swift-algorithms.git
[233/4221] Fetching swift-http-structured-headers, swift-service-lifecycle
[2108/11912] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.44s)
[1264/10628] Fetching swift-service-lifecycle, swift-certificates
Fetching https://github.com/apple/swift-nio-http2.git
[2046/17735] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms
[2148/19823] Fetching swift-service-lifecycle, swift-certificates, swift-async-algorithms, swift-asn1
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.58s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.60s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.60s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.60s)
[1/6208] Fetching swift-algorithms
Fetched https://github.com/apple/swift-algorithms.git from cache (0.52s)
[1/12441] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.97s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.28s)
Fetching https://github.com/apple/swift-numerics.git
[1/6862] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.53s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.67s)
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.14s)
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.14s)
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.18s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.5 (0.18s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.21.2 (0.20s)
Fetching https://github.com/apple/swift-crypto.git
[1/19023] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.24s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.46.1 (1.40s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 5.2.0 (0.23s)
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-collections
Working copy of https://github.com/apple/swift-collections resolved at 1.7.6
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-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.8
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/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.21.2
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
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.3
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.5
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-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
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/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.9.0
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.105.2
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.17.2
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/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-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-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/Cocoanetics/SwiftCross
Working copy of https://github.com/Cocoanetics/SwiftCross resolved at 1.2.0
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.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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 5.2.0
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/603.0.2/swift-6.3.2-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.17s)
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/474] Compiling asn1_par.cc
[3/474] Compiling f_int.cc
[4/474] Write sources
[6/474] Compiling f_string.cc
[7/474] Write sources
[9/474] Compiling _AtomicsShims.c
[10/474] Write sources
[22/474] Write swift-version-24593BA9C3E375BF.txt
[24/474] Write sources
[27/474] Compiling asn1_lib.cc
[28/474] Compiling asn_pack.cc
[29/477] Compiling crypto.cc
[30/506] Compiling tasn_utl.cc
[31/507] Write sources
[32/508] Compiling tasn_typ.cc
[33/512] Compiling CNIOWindows shim.c
[34/512] Compiling CNIOWindows WSAStartup.c
[35/512] Compiling CNIOWASI CNIOWASI.c
[36/521] Compiling CNIOPosix event_loop_id.c
[37/536] Compiling CNIOLinux shim.c
[38/536] Compiling CNIOOpenBSD shim.c
[38/536] Compiling CNIOLinux liburing_shims.c
[40/536] Compiling CNIOFreeBSD shim.c
[41/536] Compiling CNIODarwin shim.c
[42/536] Compiling fiat_p256_adx_sqr.S
[43/536] Compiling fiat_p256_adx_mul.S
[44/536] Compiling fiat_curve25519_adx_square.S
[45/536] Compiling fiat_curve25519_adx_mul.S
[46/536] Compiling CNIOBoringSSLShims shims.c
[48/536] Emitting module InternalCollectionsUtilities
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/539] 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
[49/539] Compiling tls_method.cc
[50/539] Compiling tls_record.cc
[52/539] Emitting module SwiftCross
[53/540] Compiling InternalCollectionsUtilities UInt+reversed.swift
[54/540] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[55/540] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[56/540] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[56/540] Compiling tls13_server.cc
[58/540] Compiling InternalCollectionsUtilities Span+Extras.swift
[59/540] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[60/540] Compiling InternalCollectionsUtilities String+Padding.swift
[61/540] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[62/540] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[63/540] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/540] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/540] Compiling InternalCollectionsUtilities MutableRef.swift
[66/540] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[67/540] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[68/540] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[69/540] Compiling _NIODataStructures _TinyArray.swift
[70/540] Emitting module _NIODataStructures
[71/540] Compiling _NIODataStructures PriorityQueue.swift
[72/540] Compiling _NIOBase64 Base64.swift
[73/540] Emitting module _NIOBase64
[74/541] Compiling Logging LoggingSystem.swift
[75/542] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[76/542] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[77/542] Compiling InternalCollectionsUtilities Debugging.swift
[78/542] Compiling InternalCollectionsUtilities Descriptions.swift
[79/542] Compiling Logging Logger+With.swift
[80/542] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[81/542] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[82/542] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[83/542] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[84/542] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[85/542] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[86/542] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[87/542] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[88/542] Compiling tls13_enc.cc
[90/542] Compiling InternalCollectionsUtilities Immortalize.swift
[91/542] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[92/542] Compiling InternalCollectionsUtilities Integer rank.swift
[93/542] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[95/543] Compiling Logging Logger+Attributes.swift
[97/543] Wrapping AST for _NIOBase64 for debugging
[99/547] Compiling SpanPreview InputSpan.swift
[100/547] Compiling Logging Logger.swift
[101/547] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[102/547] Emitting module SpanPreview
[103/547] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[105/605] Emitting module Logging
[106/605] Compiling OrderedCollections _HashTable+Constants.swift
[107/605] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[108/605] Compiling _NIODataStructures Heap.swift
[109/605] Compiling OrderedCollections _HashTable+Bucket.swift
[110/605] Compiling OrderedCollections _HashTable+BucketIterator.swift
[111/606] Compiling Logging MetadataProvider.swift
[114/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[115/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[116/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[117/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[118/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[119/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
[120/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[121/607] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[121/614] Wrapping AST for _NIODataStructures for debugging
[123/615] 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.3.2-RELEASE_wasm.artifactbundle/swift-6.3.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 | /*
[123/615] Wrapping AST for SpanPreview for debugging
[124/656] Wrapping AST for Logging for debugging
[125/656] Wrapping AST for InternalCollectionsUtilities for debugging
[127/656] Compiling DequeModule Deque+Codable.swift
[128/656] Compiling DequeModule Deque+Collection.swift
[129/656] 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
[130/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
[130/656] Compiling ssl_x509.cc
[130/656] Compiling tls13_client.cc
[130/656] Compiling t1_enc.cc
[130/656] Compiling tls13_both.cc
BUILD FAILURE 6.3 wasm