The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PerfectTemplate, reference main (7b3a5c), with Swift 6.2 for Wasm on 17 Oct 2026 17:26:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfecttemplate.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/perfectlysoft/perfecttemplate
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7b3a5c3 Merge pull request #25 from PerfectlySoft/swift6-modernization
Cloned https://github.com/perfectlysoft/perfecttemplate.git
Revision (git rev-parse @):
7b3a5c389f441ee2c78ff953826cadda9081e306
SUCCESS checkout https://github.com/perfectlysoft/perfecttemplate.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/perfectlysoft/perfecttemplate.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-0":/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/PerfectlySoft/Perfect-CRUD.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/PerfectlySoft/Perfect-Logger.git
Fetching https://github.com/PerfectlySoft/Perfect-NIO.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
[1/273] Fetching perfect-logger
[274/1590] Fetching perfect-logger, perfect-mysql
[393/3216] Fetching perfect-logger, perfect-mysql, perfect-nio
[2480/4939] Fetching perfect-logger, perfect-mysql, perfect-nio, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-NIO.git from cache (0.57s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (0.58s)
[1/86563] Fetching swift-nio
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git from cache (3.18s)
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (3.18s)
Fetched https://github.com/apple/swift-nio.git from cache (3.21s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 4.0.0 (3.37s)
Fetching https://github.com/apple/swift-log.git
[1/8305] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.53s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.68s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.13s)
Computing version for https://github.com/PerfectlySoft/Perfect-NIO.git
Computed https://github.com/PerfectlySoft/Perfect-NIO.git at 0.1.0 (0.15s)
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/18682] Fetching swift-crypto
[2/25387] Fetching swift-crypto, swift-nio-extras
[644/42276] Fetching swift-crypto, swift-nio-extras, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-extras.git from cache (1.57s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.58s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.59s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (1.75s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.37.5 (0.20s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.35s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
[1890/9199] Fetching swift-atomics, swift-system
[9200/38073] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (1.23s)
Fetched https://github.com/apple/swift-system.git from cache (1.23s)
Fetched https://github.com/apple/swift-collections.git from cache (1.24s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.1 (1.41s)
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-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.3 (0.24s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.35.1 (0.97s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[1/1284] Fetching swift-http-structured-headers
[258/4158] Fetching swift-http-structured-headers, swift-service-lifecycle
[259/6209] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1
[1772/12368] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-algorithms
[6580/19189] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-algorithms, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetching https://github.com/apple/swift-http-types.git
[3910/16315] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-async-algorithms
[14777/23916] Fetching swift-http-structured-headers, swift-asn1, swift-algorithms, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-algorithms.git from cache (0.72s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.73s)
Fetching https://github.com/apple/swift-nio-http2.git
[8504/10936] Fetching swift-http-structured-headers, swift-asn1, swift-certificates
[10937/12897] Fetching swift-http-structured-headers, swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.80s)
[9966/11613] Fetching swift-asn1, swift-certificates, swift-http-types
Fetched https://github.com/apple/swift-asn1.git from cache (0.80s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.80s)
[412/1961] Fetching swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.40s)
[1/12294] Fetching swift-nio-http2
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.91s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.51s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.54s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.69s)
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.15s)
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.17s)
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.20s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.5.2 (0.48s)
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.17s)
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.35.1
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/PerfectlySoft/Perfect-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 4.0.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.104.0
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-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-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.16.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
Creating working copy for https://github.com/PerfectlySoft/Perfect-CRUD.git
Working copy of https://github.com/PerfectlySoft/Perfect-CRUD.git resolved at 3.1.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.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.3
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.37.5
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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.8.1
Creating working copy for https://github.com/PerfectlySoft/Perfect-MySQL.git
Working copy of https://github.com/PerfectlySoft/Perfect-MySQL.git resolved at 4.0.0
Creating working copy for https://github.com/PerfectlySoft/Perfect-NIO.git
Working copy of https://github.com/PerfectlySoft/Perfect-NIO.git resolved at 0.1.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-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-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.46.0
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
warning: you may be able to install mysqlclient using your system-packager:
    apt-get install libmysqlclient-dev
Building for debugging...
[0/839] Write sources
[5/839] Compiling sha1-x86_64-apple.S
[5/839] Write sources
[8/839] Compiling p256_beeu-armv8-asm-apple.S
[9/839] Write sources
[24/839] Compiling _AtomicsShims.c
[25/839] Compiling SimpleFIPS202.c
[26/839] Compiling CXKCPShims shims.c
[27/839] Compiling KeccakSponge.c
[28/839] Compiling KeccakHash.c
[29/839] Compiling CNIOWindows shim.c
[30/839] Compiling CNIOWindows WSAStartup.c
[31/839] Compiling CNIOWASI CNIOWASI.c
[32/839] Compiling CNIOSHA1 c_nio_sha1.c
[33/839] Compiling CNIOPosix event_loop_id.c
[34/839] Compiling CNIOOpenBSD shim.c
[35/839] Compiling CNIOLinux shim.c
[36/839] Compiling CNIOLinux liburing_shims.c
[37/839] Compiling ecdh.cc
[38/839] Compiling CNIOLLHTTP c_nio_http.c
[39/839] Compiling CNIOLLHTTP c_nio_api.c
[40/839] Compiling CNIOFreeBSD shim.c
[41/839] Compiling CNIODarwin shim.c
[42/839] Compiling p_ed25519_asn1.cc
[43/839] Compiling a_int.cc
[43/839] Write swift-version-24593BA9C3E375BF.txt
[45/839] Compiling fiat_p256_adx_mul.S
[46/839] Compiling fiat_p256_adx_sqr.S
[47/839] Compiling fiat_curve25519_adx_square.S
[48/839] Compiling ecdsa_asn1.cc
[49/856] Compiling p_hkdf.cc
[50/856] Compiling CNIOBoringSSLShims shims.c
[51/884] Compiling fiat_curve25519_adx_mul.S
[53/912] Emitting module Logging
[53/913] Compiling CNIOLLHTTP c_nio_llhttp.c
[54/913] Compiling tls_record.cc
[55/913] Compiling tls_method.cc
[57/913] Compiling _NIODataStructures PriorityQueue.swift
[58/913] Compiling Logging LoggingSystem.swift
[59/913] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[60/913] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[61/913] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[62/913] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[63/913] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[64/913] Compiling InternalCollectionsUtilities MutableRef.swift
[65/916] Emitting module InternalCollectionsUtilities
[68/916] Compiling InternalCollectionsUtilities Debugging.swift
[69/916] Compiling InternalCollectionsUtilities Descriptions.swift
[70/916] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[71/916] Compiling InternalCollectionsUtilities Integer rank.swift
[72/916] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[73/916] Compiling InternalCollectionsUtilities UInt+reversed.swift
[74/916] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[75/916] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[76/916] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[77/916] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[78/916] Compiling Logging Logger+Attributes.swift
[79/916] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[80/916] Compiling InternalCollectionsUtilities String+Padding.swift
[81/916] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[82/916] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[83/916] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[84/916] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[85/916] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[86/916] Compiling InternalCollectionsUtilities Span+Extras.swift
[87/916] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[88/916] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[89/916] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[90/916] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[91/916] Compiling InternalCollectionsUtilities _SortedCollection.swift
[92/916] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[94/917] Compiling _NIOBase64 Base64.swift
[95/917] Emitting module _NIOBase64
[96/918] Compiling Logging Logger+With.swift
[97/918] Compiling Logging Logger.swift
[99/922] Compiling _NIODataStructures _TinyArray.swift
[99/922] Wrapping AST for InternalCollectionsUtilities for debugging
[105/922] Compiling SpanPreview InputSpan.swift
[106/922] Emitting module SpanPreview
[107/922] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[108/922] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[108/923] Wrapping AST for _NIOBase64 for debugging
[110/923] Emitting module _NIODataStructures
[111/923] Compiling _NIODataStructures Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[113/924] Emitting module PerfectCRUD
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[115/969] Compiling Logging MetadataProvider.swift
[115/970] Compiling tls13_enc.cc
[117/970] Wrapping AST for _NIODataStructures for debugging
[118/970] Wrapping AST for SpanPreview for debugging
[120/977] Compiling DequeModule UniqueDeque+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[121/977] Compiling DequeModule UniqueDeque+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[122/977] Compiling DequeModule UniqueDeque+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[123/977] Compiling DequeModule Deque+Testing.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[124/977] Compiling DequeModule Deque._Storage.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[125/977] Compiling DequeModule Deque._UnsafeHandle.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[126/977] Compiling DequeModule Deque.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[127/977] Compiling DequeModule UniqueDeque+Consumption.swift
[128/977] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[129/977] Compiling DequeModule UniqueDeque+Deprecations.swift
[133/982] Compiling DequeModule UniqueDeque+Initializers.swift
[134/982] Compiling DequeModule UniqueDeque+Insertions.swift
[135/982] Compiling DequeModule UniqueDeque+Iterable.swift
[136/982] Compiling DequeModule UniqueDeque+Prepend.swift
[137/982] Compiling DequeModule UniqueDeque+Removals.swift
[138/982] Compiling DequeModule _DequeBuffer.swift
[139/982] Compiling DequeModule _DequeBufferHeader.swift
[140/982] Compiling DequeModule RigidDeque+Append.swift
[141/982] Compiling DequeModule RigidDeque+Consumption.swift
[142/982] Compiling DequeModule RigidDeque+ContainerOperations.swift
[143/982] Compiling DequeModule RigidDeque+Deprecations.swift
[144/982] Compiling PerfectLogger Bootstrap.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:88:38: error: cannot find type 'URLRequest' in scope
 86 | /// one task at a time.
 87 | final class RemoteSink: @unchecked Sendable {
 88 |     typealias Transport = @Sendable (URLRequest) async -> Void
    |                                      `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |     static let defaultCapacity = 1_000
error: emit-module command failed with exit code 1 (use -v to see invocation)
[145/982] Emitting module PerfectLogger
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:88:38: error: cannot find type 'URLRequest' in scope
 86 | /// one task at a time.
 87 | final class RemoteSink: @unchecked Sendable {
 88 |     typealias Transport = @Sendable (URLRequest) async -> Void
    |                                      `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |     static let defaultCapacity = 1_000
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:111:20: error: @escaping attribute only applies to function types
109 |         capacity: Int = RemoteSink.defaultCapacity,
110 |         timeout: TimeInterval = RemoteSink.defaultTimeout,
111 |         transport: @escaping Transport = RemoteSink.urlSession
    |                    `- error: @escaping attribute only applies to function types
112 |     ) {
113 |         self.url = url
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:176:26: error: cannot find type 'URLRequest' in scope
174 |     /// trickles its response, which `URLRequest.timeoutInterval` (an idle
175 |     /// timeout, and ignored by Linux's `URLSession.shared`) does not.
176 |     func send(_ request: URLRequest) async {
    |                          `- error: cannot find type 'URLRequest' in scope
177 |         let transport = self.transport
178 |         let timeout = self.timeout
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:231:16: error: static property 'session' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state [#MutableGlobalVariable]
229 |     /// An ephemeral session whose request and resource timeouts match
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
    |                |- error: static property 'session' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         let configuration = URLSessionConfiguration.ephemeral
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:231:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     /// An ephemeral session whose request and resource timeouts match
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let configuration = URLSessionConfiguration.ephemeral
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:232:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
232 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
234 |         configuration.timeoutIntervalForResource = defaultTimeout
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[145/982] Compiling tls13_server.cc
[146/982] Wrapping AST for Logging for debugging
[148/982] Compiling DequeModule Deque+Codable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[149/982] Compiling DequeModule Deque+Collection.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[150/982] Compiling DequeModule Deque+CustomReflectable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[151/982] Compiling DequeModule Deque+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[152/982] Compiling PerfectLogger LogPriority.swift
[153/982] Compiling PerfectLogger RemoteLogHandler.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:88:38: error: cannot find type 'URLRequest' in scope
 86 | /// one task at a time.
 87 | final class RemoteSink: @unchecked Sendable {
 88 |     typealias Transport = @Sendable (URLRequest) async -> Void
    |                                      `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |     static let defaultCapacity = 1_000
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:111:20: error: @escaping attribute only applies to function types
109 |         capacity: Int = RemoteSink.defaultCapacity,
110 |         timeout: TimeInterval = RemoteSink.defaultTimeout,
111 |         transport: @escaping Transport = RemoteSink.urlSession
    |                    `- error: @escaping attribute only applies to function types
112 |     ) {
113 |         self.url = url
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:176:26: error: cannot find type 'URLRequest' in scope
174 |     /// trickles its response, which `URLRequest.timeoutInterval` (an idle
175 |     /// timeout, and ignored by Linux's `URLSession.shared`) does not.
176 |     func send(_ request: URLRequest) async {
    |                          `- error: cannot find type 'URLRequest' in scope
177 |         let transport = self.transport
178 |         let timeout = self.timeout
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:231:16: error: static property 'session' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state [#MutableGlobalVariable]
229 |     /// An ephemeral session whose request and resource timeouts match
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
    |                |- error: static property 'session' is not concurrency-safe because non-'Sendable' type 'URLSession' (aka 'AnyObject') may have shared mutable state [#MutableGlobalVariable]
    |                |- note: add '@MainActor' to make static property 'session' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
232 |         let configuration = URLSessionConfiguration.ephemeral
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:231:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     /// An ephemeral session whose request and resource timeouts match
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
    |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let configuration = URLSessionConfiguration.ephemeral
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:232:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
230 |     /// ``defaultTimeout``, so the URL loading system gives up too.
231 |     static let session: URLSession = {
232 |         let configuration = URLSessionConfiguration.ephemeral
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'ephemeral'
233 |         configuration.timeoutIntervalForRequest = defaultTimeout
234 |         configuration.timeoutIntervalForResource = defaultTimeout
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/RemoteLogHandler.swift:163:27: error: cannot find 'URLRequest' in scope
161 |     private func drain() async {
162 |         while let body = next() {
163 |             var request = URLRequest(url: url, timeoutInterval: timeout)
    |                           `- error: cannot find 'URLRequest' in scope
164 |             request.httpMethod = "POST"
165 |             request.setValue("application/json", forHTTPHeaderField: "Content-Type")
[#MutableGlobalVariable]: <https://docs.swift.org/compiler/documentation/diagnostics/mutable-global-variable>
[154/982] Compiling PerfectLogger LogOptions.swift
[155/982] Compiling DequeModule RigidDeque+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[156/982] Compiling DequeModule RigidDeque+Initializers.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[157/982] Compiling DequeModule RigidDeque+Insertions.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[158/982] Compiling DequeModule RigidDeque+Iterable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[162/982] Compiling DequeModule Deque+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[163/982] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[164/982] Compiling DequeModule Deque+Extras.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[165/982] Compiling DequeModule Deque+Hashable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[172/982] Compiling DequeModule RigidDeque+Descriptions.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[173/982] Compiling DequeModule RigidDeque+Equatable.swift
/host/spi-builder-workspace/.build/checkouts/Perfect-CRUD/Sources/PerfectCRUD/AsyncExecution.swift:26:8: error: no such module 'Dispatch'
 24 | //
 25 |
 26 | import Dispatch
    |        `- error: no such module 'Dispatch'
 27 |
 28 | enum CRUDBlockingQueue {
[173/982] Compiling ssl_x509.cc
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/FileLogHandler.swift:104:40: error: cannot find 'O_APPEND' in scope
102 |         }
103 |
104 |         let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
    |                                        `- error: cannot find 'O_APPEND' in scope
105 |         guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
106 |
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/FileLogHandler.swift:104:51: error: cannot find 'O_CREAT' in scope
102 |         }
103 |
104 |         let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
    |                                                   `- error: cannot find 'O_CREAT' in scope
105 |         guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
106 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/__header_fcntl.h:13:9: note: macro 'O_CREAT' unavailable: structure not supported
11 | #define O_RSYNC __WASI_FDFLAGS_RSYNC
12 | #define O_SYNC __WASI_FDFLAGS_SYNC
13 | #define O_CREAT (__WASI_OFLAGS_CREAT << 12)
   |         `- note: macro 'O_CREAT' unavailable: structure not supported
14 | #define O_DIRECTORY (__WASI_OFLAGS_DIRECTORY << 12)
15 | #define O_EXCL (__WASI_OFLAGS_EXCL << 12)
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/FileLogHandler.swift:104:73: error: cannot find 'O_NONBLOCK' in scope
102 |         }
103 |
104 |         let fd = open(path, O_WRONLY | O_APPEND | O_CREAT | O_CLOEXEC | O_NONBLOCK, 0o644)
    |                                                                         `- error: cannot find 'O_NONBLOCK' in scope
105 |         guard fd >= 0 else { return refuse(String(cString: strerror(errno))) }
106 |
/host/spi-builder-workspace/.build/checkouts/Perfect-Logger/Sources/PerfectLogger/FileLogHandler.swift:109:57: error: cannot find 'O_NONBLOCK' in scope
107 |         // Blocking writes from here on; O_NONBLOCK was only for the open.
108 |         let flags = fcntl(fd, F_GETFL)
109 |         if flags >= 0 { _ = fcntl(fd, F_SETFL, flags & ~O_NONBLOCK) }
    |                                                         `- error: cannot find 'O_NONBLOCK' in scope
110 |         #if canImport(Darwin)
111 |         _ = fcntl(fd, F_SETNOSIGPIPE, 1)
[179/982] Compiling tls13_client.cc
[179/982] Compiling tls13_both.cc
[179/982] Compiling KeccakP-1600-opt64.c
[179/982] Compiling t1_enc.cc
BUILD FAILURE 6.2 wasm