The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AudienceKit, reference main (c9c2b6), with Swift 6.4 for Wasm on 1 Dec 2026 16:54:34 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.2.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/lwm-luminx/audience-kit-sdk.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/lwm-luminx/audience-kit-sdk
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at c9c2b6b Node SDK 0.5.7: Browser.AudienceBrowserClient for the audience browser
Cloned https://github.com/lwm-luminx/audience-kit-sdk.git
Revision (git rev-parse @):
c9c2b6b3a5ca404d33653da9b798fc5d380a3a9e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/lwm-luminx/audience-kit-sdk.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/lwm-luminx/audience-kit-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e GIT_HTTP_LOW_SPEED_LIMIT="100000" -e GIT_HTTP_LOW_SPEED_TIME="60" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:61ac2d22ee4f84f32b993ad4491df2ef854c699b4458dd3409681202d710fec9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 472]
[Constructing 1 / 886]
[62 / 133] ArbiterModels
[71 / 150] AudienceCore
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[73 / 150] AudienceCore
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:68:40: error: cannot find type 'URLRequest' in scope
 66 |     private let address: URL?
 67 |     private let endpoint: GraphQLEndpoint
 68 |     private let openSocket: @Sendable (URLRequest) -> any CableSocket
    |                                        `- error: cannot find type 'URLRequest' in scope
 69 |     private let credential: @Sendable () -> Credential?
 70 |     private let unauthorized: @Sendable (String?) -> Void
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:95:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 |     /// connection as `unauthorized` (an ended session), so the owner can sign out.
 94 |     public init(configuration: AudienceKitConfiguration, endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 95 |                 session: URLSession = .shared, silenceLimit: Duration = .seconds(12),
    |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 96 |                 monitor: (any GraphQLMonitor)? = nil,
 97 |                 credential: @escaping @Sendable () -> Credential?,
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/swift/Sources/AudienceCore/AudienceCable.swift:95:40: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 93 |     /// connection as `unauthorized` (an ended session), so the owner can sign out.
 94 |     public init(configuration: AudienceKitConfiguration, endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 95 |                 session: URLSession = .shared, silenceLimit: Duration = .seconds(12),
    |                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 96 |                 monitor: (any GraphQLMonitor)? = nil,
 97 |                 credential: @escaping @Sendable () -> Credential?,
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:95:40: error: value of type '_' expected to be instance of class or class-constrained type
 93 |     /// connection as `unauthorized` (an ended session), so the owner can sign out.
 94 |     public init(configuration: AudienceKitConfiguration, endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 95 |                 session: URLSession = .shared, silenceLimit: Duration = .seconds(12),
    |                                        `- error: value of type '_' expected to be instance of class or class-constrained type
 96 |                 monitor: (any GraphQLMonitor)? = nil,
 97 |                 credential: @escaping @Sendable () -> Credential?,
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:110:50: error: cannot find type 'URLRequest' in scope
108 |                 credential: @escaping @Sendable () -> Credential?,
109 |                 unauthorized: @escaping @Sendable (String?) -> Void = { _ in },
110 |                 openSocket: @escaping @Sendable (URLRequest) -> any CableSocket) {
    |                                                  `- error: cannot find type 'URLRequest' in scope
111 |         self.configuration = configuration
112 |         self.monitor = monitor
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:431:23: error: cannot find type 'URLSessionWebSocketTask' in scope
429 | /// The apps' socket: a `URLSessionWebSocketTask`, started as soon as it's made.
430 | public final class WebSocketTaskSocket: CableSocket, @unchecked Sendable {
431 |     private let task: URLSessionWebSocketTask
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
432 |
433 |     public init(_ task: URLSessionWebSocketTask) {
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:433:25: error: cannot find type 'URLSessionWebSocketTask' in scope
431 |     private let task: URLSessionWebSocketTask
432 |
433 |     public init(_ task: URLSessionWebSocketTask) {
    |                         `- error: cannot find type 'URLSessionWebSocketTask' in scope
434 |         self.task = task
435 |         task.resume()
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift:100:89: error: extra trailing closure passed in call
 98 |                 unauthorized: @escaping @Sendable (String?) -> Void = { _ in }) {
 99 |         self.init(configuration: configuration, endpoint: endpoint, url: url, silenceLimit: silenceLimit,
100 |                   monitor: monitor, credential: credential, unauthorized: unauthorized) {
    |                                                                                         `- error: extra trailing closure passed in call
101 |             WebSocketTaskSocket(session.webSocketTask(with: $0))
102 |         }
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:76:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  74 |     private nonisolated let events = SessionEventBroadcaster()
  75 |     private nonisolated let credentialStore: any CredentialStore
  76 |     private let session: URLSession
     |                          `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  77 |     /// The URL session every call goes through, for requests to other hosts (Google's token endpoint).
  78 |     var urlSession: URLSession { session }
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/swift/Sources/AudienceCore/AudienceSession.swift:78:21: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  76 |     private let session: URLSession
  77 |     /// The URL session every call goes through, for requests to other hosts (Google's token endpoint).
  78 |     var urlSession: URLSession { session }
     |                     `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  79 |     private var resolvedAudienceID: String?
  80 |     /// The fields each type has in an audience's schema, by audience ID, endpoint and type (``schemaFields(of:endpoint:)``).
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/swift/Sources/AudienceCore/AudienceSession.swift:99:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  97 |         configuration: AudienceKitConfiguration,
  98 |         credentialStore: any CredentialStore = InMemoryCredentialStore(),
  99 |         session: URLSession = .shared,
     |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 100 |         monitor: (any GraphQLMonitor)? = nil,
 101 |         deviceAttestor: (any DeviceAttestor)? = AppAttestAttestor.platformDefault,
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/swift/Sources/AudienceCore/AudienceSession.swift:99:32: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
  97 |         configuration: AudienceKitConfiguration,
  98 |         credentialStore: any CredentialStore = InMemoryCredentialStore(),
  99 |         session: URLSession = .shared,
     |                                `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 100 |         monitor: (any GraphQLMonitor)? = nil,
 101 |         deviceAttestor: (any DeviceAttestor)? = AppAttestAttestor.platformDefault,
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:99:32: error: value of type '_' expected to be instance of class or class-constrained type
  97 |         configuration: AudienceKitConfiguration,
  98 |         credentialStore: any CredentialStore = InMemoryCredentialStore(),
  99 |         session: URLSession = .shared,
     |                                `- error: value of type '_' expected to be instance of class or class-constrained type
 100 |         monitor: (any GraphQLMonitor)? = nil,
 101 |         deviceAttestor: (any DeviceAttestor)? = AppAttestAttestor.platformDefault,
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:233:99: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 231 |     }
 232 |
 233 |     private func postSignIn(path: String, body: Data, authenticated: Bool) async throws -> (Data, HTTPURLResponse) {
     |                                                                                                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 234 |         let request = APIRequest(method: "POST", path: path, body: await attested(body), authenticated: authenticated)
 235 |         return try await perform(request)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:657:48: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 655 |     /// session the way an HTTP 401 does (``sessionRejected(token:)``). `endpoint` is the view its operations run in.
 656 |     public nonisolated func makeCable(endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 657 |                                       session: URLSession = .shared, silenceLimit: Duration = .seconds(12))
     |                                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 658 |         -> AudienceCable
 659 |     {
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/swift/Sources/AudienceCore/AudienceSession.swift:657:62: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 655 |     /// session the way an HTTP 401 does (``sessionRejected(token:)``). `endpoint` is the view its operations run in.
 656 |     public nonisolated func makeCable(endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 657 |                                       session: URLSession = .shared, silenceLimit: Duration = .seconds(12))
     |                                                              `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 658 |         -> AudienceCable
 659 |     {
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:657:62: error: value of type '_' expected to be instance of class or class-constrained type
 655 |     /// session the way an HTTP 401 does (``sessionRejected(token:)``). `endpoint` is the view its operations run in.
 656 |     public nonisolated func makeCable(endpoint: GraphQLEndpoint = .consumer, url: URL? = nil,
 657 |                                       session: URLSession = .shared, silenceLimit: Duration = .seconds(12))
     |                                                              `- error: value of type '_' expected to be instance of class or class-constrained type
 658 |         -> AudienceCable
 659 |     {
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:725:19: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 723 |     /// default the stored one).
 724 |     func perform(_ request: APIRequest, token: String? = nil, baseURL: URL? = nil) async throws
 725 |         -> (Data, HTTPURLResponse)
     |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 726 |     {
 727 |         let urlRequest = try makeURLRequest(request, token: token, baseURL: baseURL ?? configuration.baseURL)
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:766:96: error: cannot find type 'URLRequest' in scope
 764 |     }
 765 |
 766 |     private func makeURLRequest(_ request: APIRequest, token: String?, baseURL: URL) throws -> URLRequest {
     |                                                                                                `- error: cannot find type 'URLRequest' in scope
 767 |         guard var components = URLComponents(url: baseURL, resolvingAgainstBaseURL: false) else {
 768 |             throw AudienceKitError.missingConfiguration("the base URL is invalid")
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:1004:11: error: cannot find type 'URLRequest' in scope
1002 | }
1003 |
1004 | extension URLRequest {
     |           `- error: cannot find type 'URLRequest' in scope
1005 |     /// Dresses a request the way every call to the API is dressed, the cable's handshake included: which SDK is
1006 |     /// calling (`X-AudienceKit-Client`), the contract version it speaks (`X-AudienceKit-API-Version`), the build's
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:1022:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
1020 | }
1021 |
1022 | extension URLSession {
     | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
1023 |     /// `data(for:)` via a data task, so the same code runs on Linux's Foundation.
1024 |     func audienceKitData(for request: URLRequest) async throws -> (Data, URLResponse) {
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:1048:23: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1046 | private final class TaskBox: @unchecked Sendable {
1047 |     private let lock = NSLock()
1048 |     private var task: URLSessionDataTask?
     |                       `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1049 |     private var cancelled = false
1050 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift:1051:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1049 |     private var cancelled = false
1050 |
1051 |     func set(_ task: URLSessionDataTask) {
     |                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1052 |         let cancelNow = lock.withLock {
1053 |             self.task = task
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' 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 URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/swift/Sources/AudienceCore/GoogleSignIn.swift:118:47: error: cannot find type 'URLRequest' in scope
116 |
117 |     /// The form that trades `code` for tokens at ``GoogleOAuthClient/tokenEndpoint``.
118 |     public func tokenRequest(code: String) -> URLRequest {
    |                                               `- error: cannot find type 'URLRequest' in scope
119 |         var request = URLRequest(url: client.tokenEndpoint)
120 |         request.httpMethod = "POST"
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/swift/Sources/AudienceCore/AppAttestAttestor.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AppCheck.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AppRelease.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AppTokenSignIn.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCable.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceCards.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceKitSDK.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/AudienceSession.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/Branding.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/Configuration.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ContactHashing.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/Coordinate.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/Credential.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/CredentialStore.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/DeviceAttestation.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/DiscordConnect.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/Errors.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/FlaggedMessages.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GoogleSignIn.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GraphQLCache.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GraphQLEndpoint.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GraphQLMonitor.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GraphQLOperationLog.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GraphQLValue.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/GuestAndCodes.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ISO8601.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ListingCuration.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ListingResearch.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/PickupOrder.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/PlatformCredit.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ProposedChanges.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/PublisherChooser.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/RequestPacer.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/ReviewCode.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/RoomDrawing.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/SoapboxAds.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/StaffApp.swift /host/spi-builder-workspace/swift/Sources/AudienceCore/VisitedLocales.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AudienceCore -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/AudienceCore_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/Modules/AudienceCore.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/Modules/AudienceCore.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/AudienceCore-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/AudienceCore-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/AudienceCore-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AudienceKit.build/Debug-webassembly-wasm32/AudienceCore-t.build/Objects-normal/wasm32/Modules/AudienceCore.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm