Build Information
Failed to build PerfectTemplate, reference 4.0.0 (7b3a5c), with Swift 6.2 for Wasm on 17 Oct 2026 17:40:15 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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/perfectlysoft/perfecttemplate.git
Reference: 4.0.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/perfectlysoft/perfecttemplate
* tag 4.0.0 -> FETCH_HEAD
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 4.0.0
========================================
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-Logger.git
Fetching https://github.com/PerfectlySoft/Perfect-NIO.git
Fetching https://github.com/PerfectlySoft/Perfect-MySQL.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/PerfectlySoft/Perfect-CRUD.git
[1/273] Fetching perfect-logger
[274/1899] Fetching perfect-logger, perfect-nio
[307/3216] Fetching perfect-logger, perfect-nio, perfect-mysql
[553/4939] Fetching perfect-logger, perfect-nio, perfect-mysql, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-Logger.git from cache (0.46s)
[3942/4666] Fetching perfect-nio, perfect-mysql, perfect-crud
Fetched https://github.com/PerfectlySoft/Perfect-NIO.git from cache (0.54s)
[1/86563] Fetching swift-nio
Fetched https://github.com/PerfectlySoft/Perfect-CRUD.git from cache (3.08s)
Fetched https://github.com/PerfectlySoft/Perfect-MySQL.git from cache (3.09s)
Fetched https://github.com/apple/swift-nio.git from cache (3.12s)
Computing version for https://github.com/PerfectlySoft/Perfect-Logger.git
Computed https://github.com/PerfectlySoft/Perfect-Logger.git at 4.0.0 (3.27s)
Fetching https://github.com/apple/swift-log.git
[1/8305] Fetching swift-log
Fetched https://github.com/apple/swift-log.git from cache (0.55s)
Computing version for https://github.com/PerfectlySoft/Perfect-MySQL.git
Computed https://github.com/PerfectlySoft/Perfect-MySQL.git at 4.0.0 (0.70s)
Computing version for https://github.com/PerfectlySoft/Perfect-CRUD.git
Computed https://github.com/PerfectlySoft/Perfect-CRUD.git at 3.1.0 (0.14s)
Computing version for https://github.com/PerfectlySoft/Perfect-NIO.git
Computed https://github.com/PerfectlySoft/Perfect-NIO.git at 0.1.0 (0.17s)
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/apple/swift-nio-extras.git
[1/18682] Fetching swift-crypto
[375/35571] Fetching swift-crypto, swift-nio-ssl
[563/42276] Fetching swift-crypto, swift-nio-ssl, swift-nio-extras
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.56s)
[4234/35571] Fetching swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (1.39s)
Fetched https://github.com/apple/swift-crypto.git from cache (1.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.16.1 (1.56s)
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.19s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.104.0 (0.34s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/1889] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[1/7310] Fetching swift-system
[7311/36184] Fetching swift-system, swift-collections
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-nio-http2.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
Fetching https://github.com/apple/swift-algorithms.git
[1/1961] Fetching swift-http-types
[41/3245] Fetching swift-http-types, swift-http-structured-headers
[531/5296] Fetching swift-http-types, swift-http-structured-headers, swift-asn1
[2522/11455] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-algorithms
[7084/18276] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-algorithms, swift-async-algorithms
[16027/30570] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-algorithms, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (0.49s)
Fetching https://github.com/swift-server/swift-service-lifecycle.git
[12363/24411] Fetching swift-http-types, swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-http-types.git from cache (0.54s)
Fetching https://github.com/apple/swift-certificates.git
[12615/22450] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-nio-http2
[22451/25324] Fetching swift-http-structured-headers, swift-asn1, swift-async-algorithms, swift-nio-http2, swift-service-lifecycle
Fetched https://github.com/apple/swift-asn1.git from cache (0.92s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.92s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.92s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (0.92s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.44s)
[1/7601] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.77s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (2.18s)
Fetching https://github.com/apple/swift-numerics.git
[1/6756] 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.68s)
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.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.22s)
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-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-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-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-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.5.2
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/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-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-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/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-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-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-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-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
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-Logger.git
Working copy of https://github.com/PerfectlySoft/Perfect-Logger.git resolved at 4.0.0
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/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-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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
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 vpaes-armv8-apple.S
[5/839] Write sources
[8/839] Compiling aesv8-armv7-linux.S
[8/839] Write sources
[24/839] Compiling aesv8-armv8-apple.S
[25/839] Compiling _AtomicsShims.c
[26/839] Compiling aesni-x86_64-linux.S
[27/839] Compiling vpaes-armv8-linux.S
[28/839] Compiling CXKCPShims shims.c
[29/839] Compiling SimpleFIPS202.c
[30/839] Compiling CNIOWindows WSAStartup.c
[31/839] Compiling CNIOWindows shim.c
[32/839] Compiling KeccakHash.c
[33/839] Compiling CNIOWASI CNIOWASI.c
[34/839] Compiling KeccakSponge.c
[35/839] Compiling CNIOPosix event_loop_id.c
[36/839] Compiling CNIOLinux shim.c
[37/839] Compiling CNIOLinux liburing_shims.c
[37/839] Compiling CNIOSHA1 c_nio_sha1.c
[39/839] Compiling CNIOLLHTTP c_nio_http.c
[40/839] Compiling CNIOOpenBSD shim.c
[41/839] Compiling CNIODarwin shim.c
[42/839] Compiling CNIOFreeBSD shim.c
[43/839] Compiling CNIOLLHTTP c_nio_api.c
[44/839] Compiling fiat_p256_adx_mul.S
[45/839] Compiling fiat_p256_adx_sqr.S
[46/839] Compiling fiat_curve25519_adx_square.S
[47/839] Compiling fiat_curve25519_adx_mul.S
[48/839] Compiling curve25519_64_adx.cc
[49/839] Compiling CNIOBoringSSLShims shims.c
[50/839] Write swift-version-24593BA9C3E375BF.txt
[51/839] Compiling spake25519.cc
[52/843] Compiling CNIOLLHTTP c_nio_llhttp.c
[53/845] Compiling tls_method.cc
[54/869] Compiling tls_record.cc
[55/873] Compiling tls13_enc.cc
[56/912] Compiling tls13_client.cc
[57/912] Compiling tls13_server.cc
[59/912] Emitting module Logging
[60/913] Emitting module InternalCollectionsUtilities
[60/916] Compiling t1_enc.cc
[61/916] Compiling tls13_both.cc
[62/916] Compiling ssl_x509.cc
[64/916] Compiling _NIODataStructures PriorityQueue.swift
[65/916] Compiling Logging LoggingSystem.swift
[66/916] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[67/916] Compiling InternalCollectionsUtilities _SortedCollection.swift
[68/916] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[69/916] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Equality.swift
[70/916] Compiling InternalCollectionsUtilities BorrowingIteratorProtocol+Extras.swift
[71/916] Compiling InternalCollectionsUtilities Debugging.swift
[72/916] Compiling InternalCollectionsUtilities Descriptions.swift
[73/916] Compiling InternalCollectionsUtilities Iterable+CopyContents.swift
[74/916] Compiling InternalCollectionsUtilities Iterable+Equality.swift
[75/916] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[76/916] Compiling InternalCollectionsUtilities MutableRef.swift
[77/916] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[78/916] Compiling InternalCollectionsUtilities Integer rank.swift
[79/916] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[80/916] Compiling InternalCollectionsUtilities UInt+reversed.swift
[81/916] Compiling InternalCollectionsUtilities UnsafeMutablePointer+Extras.swift
[82/916] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[83/916] Compiling InternalCollectionsUtilities UnsafePointer+Extras.swift
[84/916] Compiling InternalCollectionsUtilities Strideable+LimitHelpers.swift
[85/916] Compiling InternalCollectionsUtilities String+Padding.swift
[86/916] Compiling InternalCollectionsUtilities TemporaryAllocation.swift
[87/916] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[88/916] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[89/916] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[90/916] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[91/916] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[92/916] Compiling InternalCollectionsUtilities MutableSpan+Extras.swift
[93/916] Compiling InternalCollectionsUtilities OutputSpan+Extras.swift
[94/916] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[95/916] Compiling InternalCollectionsUtilities Span+Extras.swift
[96/917] Compiling ssl_versions.cc
[98/917] Compiling _NIODataStructures _TinyArray.swift
[99/921] Compiling _NIOBase64 Base64.swift
[100/921] Emitting module _NIOBase64
[102/922] Compiling SpanPreview OutputSpan+InputSpanHelpers.swift
[103/922] Emitting module SpanPreview
[104/922] Compiling SpanPreview InputSpan.swift
[105/922] Compiling SpanPreview MutableSpan+InputSpanHelpers.swift
[108/923] Wrapping AST for InternalCollectionsUtilities for debugging
[109/923] Wrapping AST for _NIOBase64 for debugging
[110/923] Compiling KeccakP-1600-opt64.c
[111/923] Wrapping AST for SpanPreview for debugging
[117/965] Compiling Logging MetadataProvider.swift
[118/965] Compiling Logging Logger.swift
[119/965] Compiling Logging Logger+With.swift
[120/965] Compiling Logging Logger+Attributes.swift
[122/966] Compiling DequeModule _DequeBuffer.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/966] Compiling DequeModule _DequeBufferHeader.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/966] Compiling DequeModule RigidDeque+Append.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/966] Compiling DequeModule RigidDeque+Consumption.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/969] Emitting module _NIODataStructures
[127/969] Compiling _NIODataStructures Heap.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[129/977] 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 {
[130/977] Compiling DequeModule RigidDeque+ContainerOperations.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 {
[131/977] Compiling DequeModule RigidDeque+Deprecations.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 {
[132/977] 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 {
[133/977] 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 {
[134/977] 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>
[134/977] Wrapping AST for Logging for debugging
[136/977] 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 {
[137/977] 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 {
[138/977] 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 {
[139/977] 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 {
[140/977] Compiling DequeModule RigidDeque+Prepend.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 {
[141/977] Compiling DequeModule RigidDeque+Removals.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 {
[142/977] Compiling DequeModule RigidDeque+Replacements.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 {
[143/977] 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 {
[144/977] 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 {
[145/977] 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 {
[146/977] 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 {
[147/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 {
[148/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 {
[149/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 {
[150/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 {
[151/977] 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 {
[152/977] 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 {
[153/977] 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 {
[154/977] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[155/977] 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>
[155/977] Wrapping AST for _NIODataStructures for debugging
[157/977] Compiling PerfectCRUD Table.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/977] Compiling PerfectCRUD Update.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 {
[159/977] Compiling PerfectCRUD Where.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 {
[160/977] Compiling PerfectLogger LogOptions.swift
[161/977] Compiling PerfectLogger LogPriority.swift
[161/977] Compiling ssl_lib.cc
[161/977] Compiling ssl_privkey.cc
[161/977] Compiling ssl_session.cc
[162/977] Compiling DequeModule UniqueDeque+Consumption.swift
[163/977] Compiling DequeModule UniqueDeque+ContainerOperations.swift
[164/977] Compiling DequeModule UniqueDeque+Deprecations.swift
[165/977] Compiling DequeModule UniqueDeque+Descriptions.swift
[166/977] Compiling DequeModule UniqueDeque+Equatable.swift
[167/977] Compiling DequeModule UniqueDeque+Hashable.swift
[167/977] Compiling ssl_transcript.cc
[167/977] Compiling ssl_stat.cc
BUILD FAILURE 6.2 wasm