Build Information
Failed to build SwiftMail, reference main (90ce57), with Swift 6.3 for Wasm on 1 May 2026 12:17:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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 90ce57a Use forked swift-nio-imap 0.3.0-pre
Cloned https://github.com/Cocoanetics/SwiftMail.git
Revision (git rev-parse @):
90ce57aaab3ec8c904b4d6ceee106f699fef43d4
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-4609320-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:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/odrobnik/swift-nio-imap
Fetching https://github.com/apple/swift-nio
Fetching https://github.com/apple/swift-nio-ssl
Fetching https://github.com/apple/swift-testing
Fetching https://github.com/apple/swift-argument-parser
[1/17557] Fetching swift-argument-parser
[3513/31470] Fetching swift-argument-parser, swift-nio-imap
[4911/69216] Fetching swift-argument-parser, swift-nio-imap, swift-testing
[5784/84656] Fetching swift-argument-parser, swift-nio-imap, swift-testing, swift-nio-ssl
[19234/167886] Fetching swift-argument-parser, swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-argument-parser from cache (2.18s)
[59726/150329] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio
Fetching https://github.com/apple/swift-log.git
[95083/157138] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio, swift-log
Fetched https://github.com/apple/swift-log.git from cache (1.15s)
[102120/150329] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio
Fetching https://github.com/thebarndog/swift-dotenv
[103356/150800] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio, swift-dotenv
Fetching https://github.com/apple/swift-collections.git
Fetched https://github.com/thebarndog/swift-dotenv from cache (0.65s)
Fetching https://github.com/apple/swift-docc-plugin
[103721/150329] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio
[106219/174223] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio, swift-collections
[111814/176510] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio, swift-collections, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.20s)
[122526/174223] Fetching swift-nio-imap, swift-testing, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/odrobnik/swift-nio-imap from cache (5.31s)
[109683/160310] Fetching swift-testing, swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-testing from cache (5.34s)
[73371/122564] Fetching swift-nio-ssl, swift-nio, swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (9.87s)
Fetched https://github.com/apple/swift-nio-ssl from cache (14.78s)
Fetched https://github.com/apple/swift-nio from cache (14.93s)
Computing version for https://github.com/apple/swift-testing
Computed https://github.com/apple/swift-testing at 0.12.0 (15.81s)
Fetching https://github.com/swiftlang/swift-syntax.git
[1/75038] Fetching swift-syntax
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.16s)
Computing version for https://github.com/thebarndog/swift-dotenv
Computed https://github.com/thebarndog/swift-dotenv at 2.1.0 (5.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (0.44s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.5.0 (3.60s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3709] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.65s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.50s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (1.11s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.12.0 (0.74s)
Computing version for https://github.com/apple/swift-nio-ssl
Computed https://github.com/apple/swift-nio-ssl at 2.37.0 (0.82s)
Computing version for https://github.com/apple/swift-nio
Computed https://github.com/apple/swift-nio at 2.99.0 (1.18s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1820] Fetching swift-atomics
[693/7421] Fetching swift-atomics, swift-system
Fetched https://github.com/apple/swift-atomics.git from cache (0.81s)
Fetched https://github.com/apple/swift-system.git from cache (0.81s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.58s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.4 (0.81s)
Computing version for https://github.com/odrobnik/swift-nio-imap
Computed https://github.com/odrobnik/swift-nio-imap at 0.3.0-pre (0.71s)
Fetching https://github.com/apple/swift-se0270-range-set.git
[1/76] Fetching swift-se0270-range-set
Fetched https://github.com/apple/swift-se0270-range-set.git from cache (0.31s)
Computing version for https://github.com/apple/swift-se0270-range-set.git
Computed https://github.com/apple/swift-se0270-range-set.git at 1.0.1 (1.24s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (1.11s)
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-nio-ssl
Working copy of https://github.com/apple/swift-nio-ssl resolved at 2.37.0
Creating working copy for https://github.com/odrobnik/swift-nio-imap
Working copy of https://github.com/odrobnik/swift-nio-imap resolved at 0.3.0-pre
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.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.6.4
Creating working copy for https://github.com/apple/swift-testing
Working copy of https://github.com/apple/swift-testing resolved at 0.12.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/apple/swift-nio
Working copy of https://github.com/apple/swift-nio resolved at 2.99.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.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.7.1
Creating working copy for https://github.com/apple/swift-se0270-range-set.git
Working copy of https://github.com/apple/swift-se0270-range-set.git resolved at 1.0.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.0
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
[3/3] Compiling plugin Swift-DocC Preview
[4/4] Compiling plugin Swift-DocC
Building for debugging...
[4/468] Compiling a_dup.cc
[5/468] Compiling a_bitstr.cc
[6/468] Compiling a_d2i_fp.cc
[7/468] Write sources
[13/468] Compiling _AtomicsShims.c
[14/468] Write sources
[18/468] Write swift-version-24593BA9C3E375BF.txt
[19/468] Write sources
[21/468] Compiling a_bool.cc
[22/468] Compiling a_mbstr.cc
[23/468] Compiling a_gentm.cc
[24/468] Compiling a_object.cc
[25/468] Write sources
[34/474] Compiling CNIOWindows shim.c
[35/474] Compiling a_int.cc
[36/484] Compiling CNIOWASI CNIOWASI.c
[37/484] Compiling CNIOWindows WSAStartup.c
[38/490] Compiling CNIOPosix event_loop_id.c
[39/491] Compiling CNIOOpenBSD shim.c
[40/491] Compiling CNIOLinux shim.c
[41/491] Compiling CNIOLinux liburing_shims.c
[42/491] Compiling CNIODarwin shim.c
[43/508] Compiling fiat_p256_adx_sqr.S
[44/508] Compiling fiat_p256_adx_mul.S
[45/508] Compiling fiat_curve25519_adx_square.S
[46/508] Compiling fiat_curve25519_adx_mul.S
[47/508] Compiling CNIOBoringSSLShims shims.c
[49/508] Emitting module InternalCollectionsUtilities
[49/510] Compiling tls_method.cc
[50/510] Compiling tls_record.cc
[51/510] Compiling tls13_server.cc
[52/510] Compiling tls13_enc.cc
[54/510] Compiling SE0270_RangeSet Pair.swift
[55/510] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[56/510] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[57/510] Compiling Logging LogEvent.swift
[58/510] Compiling InternalCollectionsUtilities Debugging.swift
[59/510] Compiling InternalCollectionsUtilities Descriptions.swift
[60/510] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[61/510] Compiling SE0270_RangeSet DiscontiguousSlice.swift
[62/510] Compiling SE0270_RangeSet Partition.swift
[63/510] Compiling InternalCollectionsUtilities _SortedCollection.swift
[64/510] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[65/510] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[66/510] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[67/510] Compiling InternalCollectionsUtilities String+Padding.swift
[68/510] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[69/510] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[70/510] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[71/510] Compiling InternalCollectionsUtilities Integer rank.swift
[72/510] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[73/510] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/510] Emitting module _NIOBase64
[75/510] Compiling _NIOBase64 Base64.swift
[76/510] Emitting module SE0270_RangeSet
[77/510] Compiling SE0270_RangeSet CollectionExtensions.swift
[78/511] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[79/511] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[80/511] Compiling InternalCollectionsUtilities Span+Extras.swift
[82/512] Compiling _NIODataStructures PriorityQueue.swift
[83/512] Compiling SE0270_RangeSet RangeSet.swift
[84/512] Compiling SE0270_RangeSet RangeSetStorage.swift
[87/513] Compiling _NIODataStructures _TinyArray.swift
[87/513] Wrapping AST for SE0270_RangeSet for debugging
[88/513] Wrapping AST for _NIOBase64 for debugging
[89/513] Compiling tls13_client.cc
[91/513] Compiling Logging MetadataProvider.swift
[91/514] Wrapping AST for InternalCollectionsUtilities for debugging
[93/547] Compiling Logging Locks.swift
[94/547] Emitting module ContainersPreview
[95/578] Compiling OrderedCollections _HashTable+UnsafeHandle.swift
[96/578] Compiling OrderedCollections _HashTable.swift
[97/578] Compiling OrderedCollections _Hashtable+Header.swift
[98/578] Compiling OrderedCollections OrderedDictionary+Codable.swift
[99/605] Compiling OrderedCollections OrderedSet+Initializers.swift
[100/605] Compiling OrderedCollections OrderedSet+Insertions.swift
[101/605] Compiling OrderedCollections OrderedSet+Invariants.swift
[102/605] Compiling OrderedCollections OrderedSet+Partial MutableCollection.swift
[103/605] Compiling OrderedCollections OrderedSet+Partial RangeReplaceableCollection.swift
[104/605] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formIntersection.swift
[105/605] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formSymmetricDifference.swift
[106/605] Compiling OrderedCollections OrderedSet+Partial SetAlgebra formUnion.swift
[107/605] Emitting module _NIODataStructures
[108/605] Compiling _NIODataStructures Heap.swift
[109/606] Compiling OrderedCollections OrderedDictionary+Equatable.swift
[110/606] Compiling OrderedCollections OrderedDictionary+ExpressibleByDictionaryLiteral.swift
[111/606] Compiling OrderedCollections OrderedDictionary.swift
[112/606] Compiling OrderedCollections OrderedSet+Codable.swift
[113/606] Compiling OrderedCollections OrderedSet+CustomReflectable.swift
[114/606] Compiling OrderedCollections OrderedDictionary+CustomReflectable.swift
[115/606] Compiling OrderedCollections OrderedDictionary+Deprecations.swift
[116/606] Compiling OrderedCollections OrderedDictionary+Descriptions.swift
[117/606] Compiling OrderedCollections OrderedDictionary+Elements.SubSequence.swift
[118/606] Compiling OrderedCollections OrderedDictionary+Elements.swift
[119/606] Compiling OrderedCollections OrderedSet+Descriptions.swift
[120/606] Compiling OrderedCollections OrderedSet+Diffing.swift
[121/606] Compiling OrderedCollections OrderedSet+Equatable.swift
[122/606] Compiling OrderedCollections OrderedSet+ExpressibleByArrayLiteral.swift
[123/606] Compiling OrderedCollections OrderedSet+Hashable.swift
[124/606] Compiling OrderedCollections OrderedSet+Partial SetAlgebra intersection.swift
[125/606] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isDisjoint.swift
[126/606] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isEqualSet.swift
[127/606] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSubset.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/606] 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
[130/606] Compiling OrderedCollections _HashTable+Bucket.swift
[131/606] Compiling OrderedCollections _HashTable+BucketIterator.swift
[132/606] Compiling OrderedCollections _HashTable+Constants.swift
[133/606] Compiling OrderedCollections _HashTable+CustomStringConvertible.swift
[134/606] Compiling OrderedCollections _HashTable+Testing.swift
[134/606] Compiling tls13_both.cc
[137/607] 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
[138/607] 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
[139/607] Emitting module Logging
[140/607] Compiling Logging LogHandler.swift
[141/607] Compiling Logging Logging.swift
[143/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtract.swift
[144/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra subtracting.swift
[145/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra symmetricDifference.swift
[146/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra union.swift
[147/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra+Basics.swift
[148/608] Compiling OrderedCollections OrderedSet+RandomAccessCollection.swift
[149/608] Compiling OrderedCollections OrderedSet+ReserveCapacity.swift
[166/608] Compiling OrderedCollections OrderedDictionary+Hashable.swift
[167/608] Compiling OrderedCollections OrderedDictionary+Initializers.swift
[168/608] Compiling OrderedCollections OrderedDictionary+Invariants.swift
[169/608] Compiling OrderedCollections OrderedDictionary+Partial MutableCollection.swift
[170/608] Compiling OrderedCollections OrderedDictionary+Partial RangeReplaceableCollection.swift
[171/608] Compiling OrderedCollections OrderedDictionary+Sendable.swift
[172/608] Compiling OrderedCollections OrderedDictionary+Sequence.swift
[173/608] Compiling OrderedCollections OrderedDictionary+Values.swift
[173/608] Compiling t1_enc.cc
[179/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isStrictSuperset.swift
[180/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSubset.swift
[181/608] Compiling OrderedCollections OrderedSet+Partial SetAlgebra isSuperset.swift
[189/608] Compiling ssl_x509.cc
[198/608] Compiling ssl_versions.cc
[200/608] Emitting module OrderedCollections
[200/615] Wrapping AST for _NIODataStructures for debugging
[201/615] Compiling ssl_privkey.cc
[201/615] Compiling ssl_session.cc
[201/615] Compiling ssl_stat.cc
[201/615] Compiling ssl_transcript.cc
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 wasm