Build Information
Failed to build Maverick, reference v3.5.6 (d46ba2), with Swift 6.2 for Wasm on 11 Jan 2026 16:24:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/taphouseio/maverick.git
Reference: v3.5.6
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/taphouseio/maverick
* tag v3.5.6 -> FETCH_HEAD
HEAD is now at d46ba29 Modernize the project & tools (#13)
Cloned https://github.com/taphouseio/maverick.git
Revision (git rev-parse @):
d46ba2986d4b9478e5247a82afc5aa2c6d510580
SUCCESS checkout https://github.com/taphouseio/maverick.git at v3.5.6
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/taphouseio/maverick.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/jsorge/textbundleify.git
[1/39] Fetching textbundleify
Fetched https://github.com/jsorge/textbundleify.git from cache (0.17s)
Fetching https://github.com/swiftlang/swift-markdown
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/vapor/leaf.git
[1/980] Fetching shellout
[227/4960] Fetching shellout, leaf
[228/6398] Fetching shellout, leaf, pathkit
[6399/13458] Fetching shellout, leaf, pathkit, swift-markdown
[6400/24731] Fetching shellout, leaf, pathkit, swift-markdown, yams
[9110/101178] Fetching shellout, leaf, pathkit, swift-markdown, yams, vapor
Fetched https://github.com/vapor/leaf.git from cache (0.45s)
Fetching https://github.com/vapor/multipart-kit.git
[7390/97198] Fetching shellout, pathkit, swift-markdown, yams, vapor
[17286/100814] Fetching shellout, pathkit, swift-markdown, yams, vapor, multipart-kit
Fetched https://github.com/vapor/multipart-kit.git from cache (2.81s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (3.93s)
Fetched https://github.com/kylef/PathKit.git from cache (3.93s)
Fetched https://github.com/swiftlang/swift-markdown from cache (3.94s)
Fetched https://github.com/jpsim/Yams.git from cache (4.02s)
Fetched https://github.com/vapor/vapor.git from cache (4.02s)
Computing version for https://github.com/swiftlang/swift-markdown
Computed https://github.com/swiftlang/swift-markdown at 0.7.3 (7.58s)
Fetching https://github.com/swiftlang/swift-cmark.git
[1/18277] Fetching swift-cmark
Fetched https://github.com/swiftlang/swift-cmark.git from cache (1.43s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.0 (1.79s)
Computing version for https://github.com/vapor/leaf.git
Computed https://github.com/vapor/leaf.git at 4.5.1 (0.39s)
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/vapor/leaf-kit.git
[1/4993] Fetching leaf-kit
[1400/11045] Fetching leaf-kit, swift-algorithms
Fetched https://github.com/vapor/leaf-kit.git from cache (0.64s)
Fetched https://github.com/apple/swift-algorithms.git from cache (0.70s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.121.0 (1.35s)
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-service-context.git
[1/1692] Fetching swift-asn1
[780/4324] Fetching swift-asn1, websocket-kit
[1611/9952] Fetching swift-asn1, websocket-kit, swift-distributed-tracing
[1743/11114] Fetching swift-asn1, websocket-kit, swift-distributed-tracing, swift-service-context
[1838/18191] Fetching swift-asn1, websocket-kit, swift-distributed-tracing, swift-service-context, swift-certificates
[2222/20011] Fetching swift-asn1, websocket-kit, swift-distributed-tracing, swift-service-context, swift-certificates, swift-atomics
Fetched https://github.com/apple/swift-service-context.git from cache (0.60s)
[14651/18849] Fetching swift-asn1, websocket-kit, swift-distributed-tracing, swift-certificates, swift-atomics
Fetching https://github.com/apple/swift-metrics.git
Fetched https://github.com/apple/swift-atomics.git from cache (0.95s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (0.96s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.95s)
Fetched https://github.com/vapor/websocket-kit.git from cache (0.96s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-http2.git
[1/2532] Fetching swift-metrics
Fetched https://github.com/apple/swift-certificates.git from cache (1.02s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-metrics.git from cache (0.72s)
Fetching https://github.com/vapor/routing-kit.git
[1/5765] Fetching swift-log
[1039/12171] Fetching swift-log, swift-nio-extras
[12172/23895] Fetching swift-log, swift-nio-extras, swift-nio-http2
[13462/105139] Fetching swift-log, swift-nio-extras, swift-nio-http2, swift-nio
[13815/126495] Fetching swift-log, swift-nio-extras, swift-nio-http2, swift-nio, routing-kit
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-log.git from cache (0.89s)
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.89s)
[8263/114324] Fetching swift-nio-http2, swift-nio, routing-kit
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/console-kit.git
[26404/120825] Fetching swift-nio-http2, swift-nio, routing-kit, console-kit
[44551/138285] Fetching swift-nio-http2, swift-nio, routing-kit, console-kit, swift-crypto
[44552/153581] Fetching swift-nio-http2, swift-nio, routing-kit, console-kit, swift-crypto, swift-nio-ssl
Fetched https://github.com/vapor/console-kit.git from cache (0.65s)
[43555/147080] Fetching swift-nio-http2, swift-nio, routing-kit, swift-crypto, swift-nio-ssl
Fetching https://github.com/vapor/async-kit.git
[58867/149545] Fetching swift-nio-http2, swift-nio, routing-kit, swift-crypto, swift-nio-ssl, async-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.62s)
[66807/147080] Fetching swift-nio-http2, swift-nio, routing-kit, swift-crypto, swift-nio-ssl
Fetching https://github.com/swift-server/async-http-client.git
Fetched https://github.com/vapor/routing-kit.git from cache (2.28s)
[53348/125724] Fetching swift-nio-http2, swift-nio, swift-crypto, swift-nio-ssl
[54624/140294] Fetching swift-nio-http2, swift-nio, swift-crypto, swift-nio-ssl, async-http-client
Fetched https://github.com/apple/swift-nio-http2.git from cache (3.00s)
[47846/128570] Fetching swift-nio, swift-crypto, swift-nio-ssl, async-http-client
Fetched https://github.com/swift-server/async-http-client.git from cache (1.86s)
[66227/114000] Fetching swift-nio, swift-crypto, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (4.62s)
[73519/98704] Fetching swift-nio, swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (4.84s)
[57684/81244] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (11.16s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (15.86s)
Fetching https://github.com/apple/swift-numerics.git
[1/6390] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.67s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.8.0 (1.31s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (4.00s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.35s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.98s)
Fetching https://github.com/apple/swift-collections.git
[1/18616] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.01s)
Computing version for https://github.com/swiftlang/swift-cmark.git
Computed https://github.com/swiftlang/swift-cmark.git at 0.7.1 (2.70s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.64s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (0.61s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (1.42s)
Computing version for https://github.com/vapor/leaf-kit.git
Computed https://github.com/vapor/leaf-kit.git at 1.14.0 (0.58s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.1 (0.60s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.36.0 (0.79s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.3 (0.65s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.17.0 (0.86s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.55s)
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/2809] Fetching swift-nio-transport-services
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.99s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.1 (1.59s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.66s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.72s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.5.1 (0.73s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.21.0 (0.61s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.3.1 (0.53s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (1.56s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.31.2 (0.73s)
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-http-types.git
[1/1204] Fetching swift-http-structured-headers
[50/3772] Fetching swift-http-structured-headers, swift-service-lifecycle
[371/9632] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
[487/10583] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms, swift-http-types
Fetched https://github.com/apple/swift-http-types.git from cache (0.41s)
[7992/9632] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.43s)
[7960/8428] Fetching swift-service-lifecycle, swift-async-algorithms
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.49s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.61s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.9.1 (1.13s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.1.1 (0.89s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.5.1 (0.58s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.6.0 (0.54s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 4.2.0 (1.93s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.39.0 (0.72s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.30.2 (0.71s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.26.0 (0.70s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.92.1 (1.36s)
Fetching https://github.com/apple/swift-system.git
[1/5360] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.6.3 (2.08s)
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.30.2
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.5.1
Creating working copy for https://github.com/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/apple/swift-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.1
Creating working copy for https://github.com/vapor/leaf-kit.git
Working copy of https://github.com/vapor/leaf-kit.git resolved at 1.14.0
Creating working copy for https://github.com/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.121.0
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.21.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.8.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.1
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.1
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.92.1
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.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.39.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 4.2.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.9.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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.6.3
Creating working copy for https://github.com/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.26.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.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.31.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.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.17.0
Creating working copy for https://github.com/swiftlang/swift-markdown
Working copy of https://github.com/swiftlang/swift-markdown resolved at 0.7.3
Creating working copy for https://github.com/vapor/leaf.git
Working copy of https://github.com/vapor/leaf.git resolved at 4.5.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.5.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.6.0
Creating working copy for https://github.com/swiftlang/swift-cmark.git
Working copy of https://github.com/swiftlang/swift-cmark.git resolved at 0.7.1
Creating working copy for https://github.com/jsorge/textbundleify.git
Working copy of https://github.com/jsorge/textbundleify.git resolved at master (9002d65)
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.36.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.3.1
Building for debugging...
[0/970] Compiling CAtomic CAtomic.c
[1/970] Write swift-version-24593BA9C3E375BF.txt
[2/970] Compiling cmark-gfm-extensions tasklist.c
[3/970] Compiling cmark-gfm-extensions tagfilter.c
[4/970] Compiling cmark-gfm-extensions core-extensions.c
[5/970] Compiling cmark-gfm-extensions strikethrough.c
[6/970] Compiling cmark-gfm-extensions table.c
[7/970] Compiling cmark-gfm-extensions ext_scanners.c
[8/970] Compiling cmark-gfm xml.c
[9/970] Compiling cmark-gfm-extensions autolink.c
[10/970] Compiling cmark-gfm syntax_extension.c
[11/970] Compiling cmark-gfm registry.c
[12/970] Compiling cmark-gfm render.c
[13/970] Compiling cmark-gfm references.c
[14/970] Compiling cmark-gfm plugin.c
[15/970] Compiling cmark-gfm plaintext.c
[16/970] Compiling cmark-gfm map.c
[17/970] Compiling cmark-gfm node.c
[18/970] Compiling cmark-gfm man.c
[19/970] Compiling cmark-gfm linked_list.c
[20/970] Compiling cmark-gfm latex.c
[21/970] Compiling cmark-gfm iterator.c
[22/970] Compiling a_d2i_fp.cc
[23/970] Compiling a_dup.cc
[24/970] Compiling cmark-gfm html.c
[25/970] Compiling cmark-gfm houdini_html_e.c
[26/970] Compiling a_i2d_fp.cc
[27/970] Compiling cmark-gfm houdini_href_e.c
[28/970] Compiling cmark-gfm inlines.c
[29/970] Compiling cmark-gfm footnotes.c
[30/970] Compiling cmark-gfm cmark_ctype.c
[31/970] Compiling cmark-gfm houdini_html_u.c
[32/970] Compiling cmark-gfm commonmark.c
[32/970] Write sources
[34/970] Compiling cmark-gfm buffer.c
[34/970] Write sources
[41/970] Compiling cmark-gfm cmark.c
[42/970] Compiling _CWASI _CWASI.c
[43/970] Compiling _NumericsShims _NumericsShims.c
[43/970] Compiling cmark-gfm arena.c
[45/970] Compiling _AtomicsShims.c
[45/970] Write sources
[63/978] Compiling a_int.cc
[64/978] Compiling cmark-gfm blocks.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[66/982] Emitting module ServiceContextModule
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 | /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 | /// implicitly passes it to child tasks when using structured concurrency.
237 | @TaskLocal public static var current: ServiceContext?
| `- error: unknown attribute 'TaskLocal'
238 |
239 | /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 | public static func withValue<T>(
255 | _ value: ServiceContext?,
256 | isolation: isolated (any Actor)? = #isolation,
| `- error: cannot find type 'Actor' in scope
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 | /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 | public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 | try ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
259 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
260 | }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 | @_disfavoredOverload
265 | public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
267 | }
268 | #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 | /// If no explicit name has been set on the wrapped key the type name is used.
72 | public var name: String {
73 | self._nameOverride ?? String(describing: self.keyType.self)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 | }
75 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 | public func hash(into hasher: inout Hasher) {
88 | hasher.combine(ObjectIdentifier(self.keyType))
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 | }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[67/982] Emitting module ShellOut
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import Dispatch
9 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[68/982] Emitting module _NIODataStructures
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:208:21: error: cannot find 'log2' in scope
206 |
207 | func height(index: Int) -> Int {
208 | Int(log2(Double(index + 1)))
| `- error: cannot find 'log2' in scope
209 | }
210 | let myHeight = height(index: index)
[69/982] Emitting module _CertificateInternals
error: emit-module command failed with exit code 1 (use -v to see invocation)
[71/983] Emitting module _NIOBase64
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIOBase64/Base64.swift:112:39: error: cannot use a value of protocol type 'any Error' in embedded Swift
27 | @inlinable
28 | public func base64Decoded() throws -> [UInt8] {
29 | try self._base64Decoded()
| `- note: called from here
30 | }
31 |
:
38 | @inlinable
39 | public func _base64Decoded() throws -> [UInt8] {
40 | try Base64.decode(string: self)
| `- note: called from here
41 | }
42 | }
:
110 | if bytes[i + 2] != Base64.encodePaddingCharacter {
111 | guard let byte2Index = Base64.encodingTable.firstIndex(of: bytes[i + 2]) else {
112 | throw Base64Error.invalidCharacter
| `- error: cannot use a value of protocol type 'any Error' in embedded Swift
113 | }
114 |
[72/983] Compiling ShellOut ShellOut.swift
/host/spi-builder-workspace/.build/checkouts/ShellOut/Sources/ShellOut.swift:7:8: error: no such module 'Foundation'
5 | */
6 |
7 | import Foundation
| `- error: no such module 'Foundation'
8 | import Dispatch
9 |
[72/983] Compiling cmark-gfm scanners.c
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:27:8: error: The Heap module was unable to identify your C library.
25 | @preconcurrency import Bionic
26 | #else
27 | #error("The Heap module was unable to identify your C library.")
| `- error: The Heap module was unable to identify your C library.
28 | #endif
29 |
/host/spi-builder-workspace/.build/checkouts/swift-nio/Sources/_NIODataStructures/Heap.swift:170:47: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
168 | return "<empty heap>"
169 | }
170 | let descriptions = self.storage.map { String(describing: $0) }
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
171 | let maxLen: Int = descriptions.map { $0.count }.max()! // storage checked non-empty above
172 | let paddedDescs = descriptions.map { (desc: String) -> String in
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
[73/983] Compiling ServiceContextModule ServiceContext.swift
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:237:6: error: unknown attribute 'TaskLocal'
235 | /// A `ServiceContext` is automatically propagated through task-local storage. This API enables binding a top-level `ServiceContext` and
236 | /// implicitly passes it to child tasks when using structured concurrency.
237 | @TaskLocal public static var current: ServiceContext?
| `- error: unknown attribute 'TaskLocal'
238 |
239 | /// Convenience API to bind the task-local ``ServiceContext/current`` to the passed `value`, and execute the passed `operation`.
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:256:34: error: cannot find type 'Actor' in scope
254 | public static func withValue<T>(
255 | _ value: ServiceContext?,
256 | isolation: isolated (any Actor)? = #isolation,
| `- error: cannot find type 'Actor' in scope
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:245:28: error: type 'ServiceContext' has no member '$current'
243 | /// SeeAlso: [Swift Task Locals](https://developer.apple.com/documentation/swift/tasklocal)
244 | public static func withValue<T>(_ value: ServiceContext?, operation: () throws -> T) rethrows -> T {
245 | try ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
246 | }
247 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:259:34: error: type 'ServiceContext' has no member '$current'
257 | operation: () async throws -> T
258 | ) async rethrows -> T {
259 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
260 | }
261 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContext.swift:266:34: error: type 'ServiceContext' has no member '$current'
264 | @_disfavoredOverload
265 | public static func withValue<T>(_ value: ServiceContext?, operation: () async throws -> T) async rethrows -> T {
266 | try await ServiceContext.$current.withValue(value, operation: operation)
| `- error: type 'ServiceContext' has no member '$current'
267 | }
268 | #else
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:73:31: error: 'init(describing:)' is unavailable: unavailable in embedded Swift
71 | /// If no explicit name has been set on the wrapped key the type name is used.
72 | public var name: String {
73 | self._nameOverride ?? String(describing: self.keyType.self)
| `- error: 'init(describing:)' is unavailable: unavailable in embedded Swift
74 | }
75 |
Swift.String.init:2:8: note: 'init(describing:)' has been explicitly marked unavailable here
1 | struct String {
2 | public init<Subject>(describing instance: Subject)}
| `- note: 'init(describing:)' has been explicitly marked unavailable here
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:9: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:84:42: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
82 | extension AnyServiceContextKey: Hashable {
83 | public static func == (lhs: AnyServiceContextKey, rhs: AnyServiceContextKey) -> Bool {
84 | ObjectIdentifier(lhs.keyType) == ObjectIdentifier(rhs.keyType)
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
85 | }
86 |
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-service-context/Sources/ServiceContextModule/ServiceContextKey.swift:88:24: error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
86 |
87 | public func hash(into hasher: inout Hasher) {
88 | hasher.combine(ObjectIdentifier(self.keyType))
| `- error: initializer 'init(_:)' requires that 'any Any.Type' be a class type
89 | }
90 | }
Swift.ObjectIdentifier.init:2:19: note: where 'Object' = 'any Any.Type'
1 | struct ObjectIdentifier {
2 | @inlinable public init<Object>(_ x: Object) where Object : AnyObject}
| `- note: where 'Object' = 'any Any.Type'
3 |
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:44:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
42 |
43 | @inlinable
44 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
45 | self.bytes = ArraySlice(value.utf8)
46 | }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:97:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
95 |
96 | @inlinable
97 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
98 | self.bytes = ArraySlice(value.utf8)
99 | }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:161:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
159 |
160 | @inlinable
161 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
162 | self.bytes = ArraySlice(value.utf8)
163 | precondition(Self._isValid(self.bytes))
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:239:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
237 |
238 | @inlinable
239 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
240 | self.bytes = ArraySlice(value.utf8)
241 | }
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-asn1/Sources/SwiftASN1/Basic ASN1 Types/ASN1Strings.swift:286:38: error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
284 |
285 | @inlinable
286 | public init(stringLiteral value: StringLiteralType) {
| `- error: 'StringLiteralType' is unavailable: unavailable in embedded Swift
287 | guard
288 | value.utf16.allSatisfy({ codeUnit in
Swift.StringLiteralType:2:18: note: 'StringLiteralType' has been explicitly marked unavailable here
1 | @_unavailableInEmbedded
2 | public typealias StringLiteralType = String
| `- note: 'StringLiteralType' has been explicitly marked unavailable here
[73/983] Compiling cmark-gfm utf8.c
BUILD FAILURE 6.2 wasm