The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AssociatedObject, reference 0.15.0 (f358e1), with Swift 6.4 for Wasm on 25 Sep 2026 00:43:30 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/p-x9/AssociatedObject.git
Reference: 0.15.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/p-x9/AssociatedObject
 * tag               0.15.0     -> FETCH_HEAD
HEAD is now at f358e1c Merge pull request #53 from p-x9/feature/swift-syntax-603
Cloned https://github.com/p-x9/AssociatedObject.git
Revision (git rev-parse @):
f358e1ccf6761b9d1d53136022a65c601cdc4da3
SUCCESS checkout https://github.com/p-x9/AssociatedObject.git at 0.15.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/p-x9/AssociatedObject.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-1":/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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/p-x9/swift-literal-type-inference.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/p-x9/swift-object-association.git
[1/207] Fetching swift-object-association
[208/324] Fetching swift-object-association, swift-literal-type-inference
Fetched https://github.com/p-x9/swift-object-association.git (0.46s)
[1/80067] Fetching swift-syntax
Fetching https://github.com/pointfreeco/swift-macro-testing.git
Fetched https://github.com/p-x9/swift-literal-type-inference.git (3.13s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.15s)
[1/1002] Fetching swift-macro-testing
Fetched https://github.com/pointfreeco/swift-macro-testing.git (0.47s)
Computing version for https://github.com/p-x9/swift-object-association.git
Computed https://github.com/p-x9/swift-object-association.git at 0.5.0 (3.75s)
Computing version for https://github.com/p-x9/swift-literal-type-inference.git
Computed https://github.com/p-x9/swift-literal-type-inference.git at 0.6.0 (0.15s)
Computing version for https://github.com/pointfreeco/swift-macro-testing.git
Computed https://github.com/pointfreeco/swift-macro-testing.git at 0.7.0 (0.17s)
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/16479] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing (2.58s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 603.0.2 (3.75s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.19.6 (0.16s)
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/5666] Fetching swift-custom-dump
Fetched https://github.com/pointfreeco/swift-custom-dump (0.49s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.69s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.72s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.82s)
Creating working copy for https://github.com/p-x9/swift-object-association.git
Working copy of https://github.com/p-x9/swift-object-association.git resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 603.0.2
Creating working copy for https://github.com/pointfreeco/swift-issue-reporting
Working copy of https://github.com/pointfreeco/swift-issue-reporting resolved at 2.1.1
Creating working copy for https://github.com/pointfreeco/swift-macro-testing.git
Working copy of https://github.com/pointfreeco/swift-macro-testing.git resolved at 0.7.0
Creating working copy for https://github.com/p-x9/swift-literal-type-inference.git
Working copy of https://github.com/p-x9/swift-literal-type-inference.git resolved at 0.6.0
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.7.3
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.19.6
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 712]
[Planning deferred tasks]
[156 / 310] _SwiftSyntaxCShims
[192 / 311] SwiftSyntax
[195 / 320] SwiftSyntax
[201 / 323] SwiftSyntax602
[206 / 324] SwiftSyntax603
[213 / 325] SwiftSyntax600
[216 / 326] SwiftSyntax601
[218 / 326] SwiftSyntax601
[219 / 326] SwiftSyntax
[232 / 354] SwiftParser
[233 / 354] SwiftBasicFormat
[245 / 354] SwiftParser
[246 / 354] SwiftParser
[249 / 354] SwiftParser
[251 / 354] SwiftParser
[255 / 354] SwiftParser
[256 / 354] SwiftDiagnostics
[257 / 354] SwiftDiagnostics
[258 / 354] SwiftOperators
[260 / 354] SwiftDiagnostics
[263 / 354] SwiftDiagnostics
[264 / 354] SwiftParserDiagnostics
[265 / 355] SwiftParserDiagnostics
[268 / 355] SwiftDiagnostics
[272 / 366] SwiftParserDiagnostics
[274 / 375] SwiftParserDiagnostics
[275 / 376] SwiftParserDiagnostics
[276 / 376] SwiftOperators
[283 / 376] SwiftOperators
[284 / 377] SwiftParserDiagnostics
[288 / 377] SwiftParserDiagnostics
[289 / 377] SwiftSyntaxBuilder
[290 / 377] SwiftSyntaxBuilder
[294 / 377] SwiftParser
[295 / 377] SwiftOperators
[298 / 377] SwiftOperators
[301 / 377] SwiftOperators
[306 / 387] SwiftSyntaxBuilder
[307 / 387] SwiftSyntaxBuilder
[308 / 387] SwiftSyntaxBuilder
[311 / 389] SwiftSyntaxBuilder
[312 / 389] SwiftSyntaxBuilder
[321 / 389] SwiftIfConfig
[325 / 399] SwiftIfConfig
[327 / 399] SwiftIfConfig
[328 / 399] SwiftIfConfig
[335 / 400] SwiftIfConfig
[336 / 400] SwiftSyntaxMacros
[339 / 400] SwiftIfConfig
[344 / 420] SwiftSyntaxMacros
[348 / 420] SwiftSyntaxMacros
[355 / 421] SwiftSyntaxMacros-product
[363 / 421] LiteralTypeInference
[364 / 422] SwiftSyntaxMacros
[372 / 422] LiteralTypeInference-product
[379 / 432] LiteralTypeInference
[382 / 433] SwiftSyntaxMacroExpansion
[383 / 433] SwiftSyntaxMacroExpansion
[393 / 443] SwiftSyntaxMacroExpansion
[396 / 443] SwiftCompilerPluginMessageHandling
[398 / 443] SwiftCompilerPluginMessageHandling
[401 / 443] SwiftCompilerPluginMessageHandling
[410 / 447] SwiftSyntaxMacroExpansion
[415 / 447] SwiftCompilerPlugin
[417 / 448] SwiftCompilerPluginMessageHandling
[419 / 449] SwiftSyntax
[422 / 450] SwiftSyntax
[430 / 450] LiteralTypeInference
[439 / 451] AssociatedObjectPlugin
[446 / 457] AssociatedObjectPlugin
[450 / 458] AssociatedObjectPlugin
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/AssociatedObject/functions.swift:14:10: warning: Current platform is not supported
12 | import ObjectAssociation
13 | #else
14 | #warning("Current platform is not supported")
   |          `- warning: Current platform is not supported
15 | #endif
16 |
/host/spi-builder-workspace/Sources/AssociatedObject/AssociatedObject.swift:22:15: error: cannot find type 'Policy' in scope
20 | @attached(accessor)
21 | public macro AssociatedObject(
22 |     _ policy: Policy
   |               `- error: cannot find type 'Policy' in scope
23 | ) = #externalMacro(
24 |     module: "AssociatedObjectPlugin",
/host/spi-builder-workspace/Sources/AssociatedObject/AssociatedObject.swift:31:15: error: cannot find type 'Policy' in scope
29 | @attached(accessor)
30 | public macro AssociatedObject(
31 |     _ policy: Policy,
   |               `- error: cannot find type 'Policy' in scope
32 |     key: Any
33 | ) = #externalMacro(
/host/spi-builder-workspace/Sources/AssociatedObject/AssociatedObject.swift:40:15: error: cannot find type 'Policy' in scope
38 | @attached(accessor)
39 | public macro _AssociatedObject(
40 |     _ policy: Policy
   |               `- error: cannot find type 'Policy' in scope
41 | ) = #externalMacro(
42 |     module: "AssociatedObjectPlugin",
/host/spi-builder-workspace/Sources/AssociatedObject/functions.swift:34:15: error: cannot find type 'Policy' in scope
32 |     _ key: UnsafeRawPointer,
33 |     _ value: Any?,
34 |     _ policy: Policy = .retain(.nonatomic)
   |               `- error: cannot find type 'Policy' in scope
35 | ) {
36 | #if canImport(ObjectiveC)
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AssociatedObject/AssociatedObject.swift /host/spi-builder-workspace/Sources/AssociatedObject/Extension/objc_AssociationPolicy+.swift /host/spi-builder-workspace/Sources/AssociatedObject/Extension/swift_AssociationPolicy+.swift /host/spi-builder-workspace/Sources/AssociatedObject/functions.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -load-plugin-executable /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/AssociatedObjectPlugin\#AssociatedObjectPlugin -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/.build/out/Intermediates.noindex/GeneratedModuleMaps-webassembly-wasm32/AssociatedObjectC.modulemap -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/Sources/AssociatedObjectC/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AssociatedObject -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/AssociatedObject_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/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/Modules/AssociatedObject.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/Modules/AssociatedObject.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/AssociatedObject-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/AssociatedObject-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/AssociatedObject-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AssociatedObject.build/Debug-webassembly-wasm32/AssociatedObject-t.build/Objects-normal/wasm32/Modules/AssociatedObject.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm