Build Information
Failed to build swift-json-schema-codegen, reference v0.4.0 (5ed94b), with Swift 6.4 for Wasm on 26 Sep 2026 12:04: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.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ajevans99/swift-json-schema-codegen.git
Reference: v0.4.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/ajevans99/swift-json-schema-codegen
* tag v0.4.0 -> FETCH_HEAD
HEAD is now at 5ed94b7 Fix Xcode build plugin executable name resolution (#14)
Cloned https://github.com/ajevans99/swift-json-schema-codegen.git
Revision (git rev-parse @):
5ed94b7f8aacd85e3de4355a6159f694d493b03f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ajevans99/swift-json-schema-codegen.git at v0.4.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/ajevans99/swift-json-schema-codegen.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.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/pointfreeco/swift-custom-dump
Fetching https://github.com/ajevans99/swift-json-schema.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/10802] Fetching swift-json-schema
[110/16468] Fetching swift-json-schema, swift-custom-dump
[280/35414] Fetching swift-json-schema, swift-custom-dump, swift-argument-parser
[24722/115483] Fetching swift-json-schema, swift-custom-dump, swift-argument-parser, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump (4.04s)
Fetched https://github.com/apple/swift-argument-parser.git (4.05s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.07s)
Fetched https://github.com/ajevans99/swift-json-schema.git (4.13s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (4.30s)
Computing version for https://github.com/ajevans99/swift-json-schema.git
Computed https://github.com/ajevans99/swift-json-schema.git at 0.14.1 (0.18s)
Fetching https://github.com/apple/swift-collections.git
[1/27779] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.17s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (2.35s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.7.3 (0.18s)
Fetching https://github.com/pointfreeco/swift-issue-reporting
[1/6161] Fetching swift-issue-reporting
Fetched https://github.com/pointfreeco/swift-issue-reporting (0.68s)
Computing version for https://github.com/pointfreeco/swift-issue-reporting
Computed https://github.com/pointfreeco/swift-issue-reporting at 2.1.1 (1.78s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.1 (0.28s)
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.1
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/ajevans99/swift-json-schema.git
Working copy of https://github.com/ajevans99/swift-json-schema.git resolved at 0.14.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.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
Building for debugging...
[Computing dependencies]
[Constructing description]
[Pre-planning 1 / 1623]
[Planning 1486 / 1623]
[Planning deferred tasks]
[Writing build description]
[162 / 649] SwiftIfConfig
[315 / 670] SwiftSyntax601
[358 / 674] SwiftSyntax600
[360 / 676] SwiftSyntax604
[374 / 677] SwiftSyntax602
[384 / 682] SwiftSyntax600
[385 / 683] SwiftSyntax600
[396 / 691] SwiftSyntax510
[416 / 699] SwiftSyntax601
[428 / 707] SwiftSyntax510
[442 / 707] SwiftSyntax509
[455 / 715] SwiftSyntax509
[462 / 716] ArgumentParserToolInfo
[484 / 727] InternalCollectionsUtilities
[484 / 734] InternalCollectionsUtilities
[485 / 734] SwiftSyntax509
[495 / 736] InternalCollectionsUtilities
[498 / 736] InternalCollectionsUtilities
[498 / 737] InternalCollectionsUtilities
[501 / 737] InternalCollectionsUtilities
[503 / 737] InternalCollectionsUtilities
[519 / 740] JSONSchemaCodegenConfiguration
[525 / 767] SwiftSyntax
[527 / 768] SwiftSyntax
[528 / 769] SwiftSyntax
[531 / 769] ArgumentParser
[536 / 769] SwiftSyntax
[537 / 769] SwiftSyntax
[540 / 769] SwiftSyntax
[541 / 769] SwiftSyntax
[542 / 769] SwiftSyntax
[543 / 769] SwiftSyntax
[554 / 769] SwiftSyntax-product
[555 / 769] SwiftSyntax-product
[556 / 769] SwiftSyntax-product
[557 / 769] SwiftParser
[560 / 769] SwiftParser
[564 / 769] InternalCollectionsUtilities
[566 / 769] ArgumentParser
[567 / 769]
[569 / 771] OrderedCollections
[571 / 789] OrderedCollections
[572 / 790] OrderedCollections
[573 / 790] OrderedCollections
[575 / 790] OrderedCollections
[580 / 790] OrderedCollections
[588 / 790] OrderedCollections
[588 / 790] OrderedJSON
[591 / 790] OrderedCollections
[593 / 790] OrderedCollections
[595 / 791] OrderedCollections
[596 / 791] OrderedCollections-product
[599 / 791] OrderedJSON
[603 / 796] SwiftParser
[606 / 823] OrderedCollections
[608 / 823] SwiftDiagnostics
[616 / 839] SwiftBasicFormat
[617 / 839] SwiftDiagnostics
[619 / 839] SwiftDiagnostics
[625 / 840] SwiftBasicFormat
[634 / 840] SwiftParser-product
[641 / 840] SwiftParser
[642 / 840] SwiftParser
[644 / 840] SwiftParser
[645 / 840] SwiftParser
[646 / 840] SwiftParser
[648 / 840] SwiftParser
[649 / 841] SwiftParser
[651 / 841] SwiftParser
[653 / 841] SwiftParser
[655 / 841] SwiftDiagnostics
[656 / 841] SwiftDiagnostics
[657 / 841] SwiftDiagnostics
[658 / 841] SwiftOperators
[659 / 841] SwiftOperators
[662 / 841] SwiftDiagnostics
[663 / 841] SwiftDiagnostics
[667 / 842] SwiftDiagnostics
[670 / 842] SwiftDiagnostics
[673 / 842] SwiftBasicFormat
[676 / 842] SwiftBasicFormat
[677 / 842] SwiftBasicFormat
[678 / 843] SwiftParserDiagnostics
[688 / 871] OrderedJSON
[691 / 873] SwiftParser
[694 / 873] SwiftBasicFormat
[703 / 873] SwiftParserDiagnostics
[704 / 873] SwiftBasicFormat-product
[706 / 873] OrderedJSON
[713 / 873] OrderedJSON
[714 / 874] SwiftBasicFormat
[716 / 874] SwiftBasicFormat
[718 / 874] OrderedJSON
[721 / 874] OrderedJSON
[725 / 874] OrderedJSON
[726 / 874] OrderedJSON-product
[729 / 874] OrderedJSON
[731 / 875] OrderedJSON
[736 / 877] SwiftOperators
[738 / 895] SwiftOperators
[740 / 895] SwiftParserDiagnostics
[742 / 895] SwiftParserDiagnostics
[753 / 895] SwiftSyntaxBuilder
[755 / 896] SwiftParserDiagnostics-product
[758 / 896] SwiftOperators
[759 / 896] SwiftOperators
[762 / 896] SwiftOperators
[764 / 896] SwiftOperators
[768 / 898] SwiftParserDiagnostics
[769 / 898] OrderedCollections
[773 / 909] SwiftSyntaxBuilder
[774 / 909] SwiftParserDiagnostics
[776 / 918] SwiftSyntaxBuilder
[776 / 927] SwiftParserDiagnostics
[782 / 927] SwiftParserDiagnostics
[784 / 927] SwiftSyntaxBuilder
[787 / 927] SwiftSyntaxBuilder
[795 / 928] JSONSchema
[799 / 928] SwiftSyntaxBuilder-product
[802 / 928] SwiftSyntaxBuilder
[805 / 928] SwiftParserDiagnostics-product
[807 / 928] SwiftParserDiagnostics
[808 / 928] SwiftParserDiagnostics
[811 / 929] SwiftParserDiagnostics
[815 / 929] JSONSchema
[818 / 929] JSONSchema
[819 / 929] JSONSchema
[819 / 929]
[822 / 940] SwiftIfConfig
[825 / 950] SwiftIfConfig
[825 / 950] SwiftSyntaxBuilder
[827 / 950] SwiftSyntaxBuilder
[839 / 950] SwiftSyntaxBuilder
[840 / 950] SwiftSyntaxBuilder
[842 / 950] SwiftParserDiagnostics
[845 / 951] SwiftSyntax
[850 / 951] SwiftIfConfig
[850 / 951] JSONSchema
[851 / 952] SwiftIfConfig
[854 / 952] SwiftIfConfig
[854 / 952] OrderedCollections
[862 / 956] OrderedJSON
[862 / 956] SwiftIfConfig
[870 / 983] SwiftSyntaxMacros
[878 / 983] SwiftSyntaxMacros
[883 / 984] JSONSchemaCodegenCore
[886 / 984] JSONSchemaCodegenCore
[887 / 985] SwiftSyntaxMacros
[901 / 985] JSONSchemaCodegenCore
[902 / 985] JSONSchemaCodegenCore
[904 / 985] JSONSchemaCodegenCore
[905 / 985] JSONSchemaCodegenCore
[907 / 985] json-schema-codegen-product
[908 / 985] json-schema-codegen-product
[912 / 985] SwiftBasicFormat
[914 / 987] SwiftSyntaxMacroExpansion
[918 / 1000] json-schema-codegen-product
error: SwiftCompile normal wasm32 /host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/JSONSchemaCodegenCLI.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile JSONSchemaCodegenCLI.swift
/host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/JSONSchemaCodegenCLI.swift:150:57: [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m148 |[0;0m }
[0;36m149 |[0;0m do {
[0;36m150 |[0;0m try output.data.write(to: output.url, options: .[4;39matomic[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m151 |[0;0m } catch {
[0;36m152 |[0;0m throw CLIError(message: "\(output.url.path): \(error)")
FoundationEssentials.Data.WritingOptions.atomic:4:23: [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m2 |[0;0m struct WritingOptions {
[0;36m3 |[0;0m @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
[0;36m4 |[0;0m public static let atomic: Data.WritingOptions }
[0;36m|[0;0m `- [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m5 |[0;0m }
[0;36m6 |[0;0m
/host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/JSONSchemaCodegenCLI.swift:206:61: [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m204 |[0;0m at: stamp.deletingLastPathComponent(), withIntermediateDirectories: true
[0;36m205 |[0;0m )
[0;36m206 |[0;0m try Data("validated\n".utf8).write(to: stamp, options: .[4;39matomic[0;0m)
[0;36m|[0;0m `- [1;31merror: [1;39m'atomic' is unavailable: atomic writing is unavailable in WASI because temporary files are not supported[0;0m
[0;36m207 |[0;0m }
[0;36m208 |[0;0m }
FoundationEssentials.Data.WritingOptions.atomic:4:23: [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m2 |[0;0m struct WritingOptions {
[0;36m3 |[0;0m @available(*, unavailable, message: "atomic writing is unavailable in WASI because temporary files are not supported")
[0;36m4 |[0;0m public static let atomic: Data.WritingOptions }
[0;36m|[0;0m `- [1;39mnote: [1;39m'atomic' has been explicitly marked unavailable here[0;0m
[0;36m5 |[0;0m }
[0;36m6 |[0;0m
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/CLIConfiguration.swift -primary-file /host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/JSONSchemaCodegenCLI.swift /host/spi-builder-workspace/Sources/JSONSchemaCodegenCLI/SchemaFileNaming.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.dia -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 6 -Onone -D SWIFT_PACKAGE -D DEBUG -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.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/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include/module.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/.build/checkouts/swift-syntax/Sources/_SwiftSyntaxCShims/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name json_schema_codegen -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/json-schema-codegen_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.o -index-unit-output-path /swift-json-schema-codegen.build/Debug-webassembly-wasm32/json-schema-codegen-p.build/Objects-normal/wasm32/JSONSchemaCodegenCLI.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm