Build Information
Failed to build TPPDF, reference main (222c51), with Swift 6.4 for Wasm on 14 Oct 2026 03:18:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.0-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/techprimate/tppdf.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/techprimate/tppdf
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 222c51f ci(release): Migrate changelog to GitHub release notes (#471)
Cloned https://github.com/techprimate/tppdf.git
Revision (git rev-parse @):
222c51fedc229e2a52973440bbb7f2ff6882601d
SUCCESS checkout https://github.com/techprimate/tppdf.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/techprimate/tppdf.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:d8610b27563fbed4643ddaec8e9397319e3b3e1372fc54686db2dacb952c1b8f
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:13:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
11 | .visionOS(.v1),
12 | .tvOS(.v12),
13 | .watchOS(.v4)
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
14 | ],
15 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Pre-planning 1 / 124]
[Constructing 1 / 235]
[31 / 39] TPPDF
[40 / 48] TPPDF
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/Source/API/Delegation/PDFGeneratorImageDelegate.swift:9:8: [1;31merror: [1;39mno such module 'CoreGraphics'[0;0m
[0;36m7 |[0;0m //
[0;36m8 |[0;0m
[0;36m9 |[0;0m import CoreGraphics
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'CoreGraphics'[0;0m
[0;36m10 |[0;0m
[0;36m11 |[0;0m /// Protocol used to delegate drawing of images
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Source/API/Delegation/PDFGeneratorDelegate.swift /host/spi-builder-workspace/Source/API/Delegation/PDFGeneratorImageDelegate.swift /host/spi-builder-workspace/Source/API/Document/PDFDocument.swift /host/spi-builder-workspace/Source/API/Document/PDFDocumentBackground.swift /host/spi-builder-workspace/Source/API/External/PDFExternalDocument.swift /host/spi-builder-workspace/Source/API/Graphics/PDFBezierPath+Copying.swift /host/spi-builder-workspace/Source/API/Graphics/PDFBezierPath.swift /host/spi-builder-workspace/Source/API/Graphics/PDFBezierPathVertex.swift /host/spi-builder-workspace/Source/API/Graphics/PDFDynamicGeometryShape.swift /host/spi-builder-workspace/Source/API/Graphics/PDFLineStyle.swift /host/spi-builder-workspace/Source/API/Graphics/PDFLineType.swift /host/spi-builder-workspace/Source/API/Groups/PDFGroup+Objects.swift /host/spi-builder-workspace/Source/API/Groups/PDFGroup.swift /host/spi-builder-workspace/Source/API/Groups/PDFGroupContainer.swift /host/spi-builder-workspace/Source/API/Groups/PDFMasterGroup.swift /host/spi-builder-workspace/Source/API/Image/PDFImage.swift /host/spi-builder-workspace/Source/API/Image/PDFImageOptions.swift /host/spi-builder-workspace/Source/API/Image/PDFImageSizeFit.swift /host/spi-builder-workspace/Source/API/Layout/PDFContainer.swift /host/spi-builder-workspace/Source/API/Layout/PDFPageLayout.swift /host/spi-builder-workspace/Source/API/List/PDFList.swift /host/spi-builder-workspace/Source/API/List/PDFListItem.swift /host/spi-builder-workspace/Source/API/List/PDFListItemSymbol.swift /host/spi-builder-workspace/Source/API/Metadata/PDFInfo+Equatable.swift /host/spi-builder-workspace/Source/API/Metadata/PDFInfo.swift /host/spi-builder-workspace/Source/API/PDFGenerator+Generation.swift /host/spi-builder-workspace/Source/API/PDFGenerator.swift /host/spi-builder-workspace/Source/API/PDFGeneratorProtocol.swift /host/spi-builder-workspace/Source/API/PDFMultiDocumentGenerator.swift /host/spi-builder-workspace/Source/API/Page\ Format/PDFPageFormat+Layout.swift /host/spi-builder-workspace/Source/API/Page\ Format/PDFPageFormat+NameConstants.swift /host/spi-builder-workspace/Source/API/Page\ Format/PDFPageFormat+SizeConstants.swift /host/spi-builder-workspace/Source/API/Page\ Format/PDFPageFormat.swift /host/spi-builder-workspace/Source/API/Pagination/PDFPagination+Equatable.swift /host/spi-builder-workspace/Source/API/Pagination/PDFPagination.swift /host/spi-builder-workspace/Source/API/Pagination/PDFPaginationClosure.swift /host/spi-builder-workspace/Source/API/Pagination/PDFPaginationStyle+Equatable.swift /host/spi-builder-workspace/Source/API/Pagination/PDFPaginationStyle.swift /host/spi-builder-workspace/Source/API/Section/PDFSection.swift /host/spi-builder-workspace/Source/API/Section/PDFSectionColumn.swift /host/spi-builder-workspace/Source/API/Table\ Of\ Content/PDFTableOfContent.swift /host/spi-builder-workspace/Source/API/Table/Content/NSAttributedString+PDFTableContent.swift /host/spi-builder-workspace/Source/API/Table/Content/Number+PDFTableContentable.swift /host/spi-builder-workspace/Source/API/Table/Content/PDFTableContent+ContentType.swift /host/spi-builder-workspace/Source/API/Table/Content/PDFTableContent.swift /host/spi-builder-workspace/Source/API/Table/Content/PDFTableContentable.swift /host/spi-builder-workspace/Source/API/Table/Content/String+PDFTableContent.swift /host/spi-builder-workspace/Source/API/Table/Content/UIImage+PDFTableContent.swift /host/spi-builder-workspace/Source/API/Table/PDFTable.swift /host/spi-builder-workspace/Source/API/Table/PDFTableCell.swift /host/spi-builder-workspace/Source/API/Table/PDFTableCellAlignment.swift /host/spi-builder-workspace/Source/API/Table/PDFTableCellPosition.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTable+CellSubscripts.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTable+ColumnSubscripts.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTable+RowSubscripts.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTable+SectionSubscripts.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableColumn.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableColumns.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableMergeable.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableRow.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableRows.swift /host/spi-builder-workspace/Source/API/Table/Sections/PDFTableSection.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableCellBorders.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableCellPosition+Equatable-Hashable.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableCellStyle.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableStyle+Defaults.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableStyle+Equatable.swift /host/spi-builder-workspace/Source/API/Table/Style/PDFTableStyle.swift /host/spi-builder-workspace/Source/API/Text/PDFAttributedText.swift /host/spi-builder-workspace/Source/API/Text/PDFSimpleText+Equatable.swift /host/spi-builder-workspace/Source/API/Text/PDFSimpleText.swift /host/spi-builder-workspace/Source/API/Text/PDFText.swift /host/spi-builder-workspace/Source/API/Text/PDFTextStyle.swift /host/spi-builder-workspace/Source/API/Utils/CrossPlattformGraphics.swift /host/spi-builder-workspace/Source/API/Utils/PDFConstants.swift /host/spi-builder-workspace/Source/API/Utils/PDFCopy.swift /host/spi-builder-workspace/Source/API/Utils/PDFDocumentObject.swift /host/spi-builder-workspace/Source/API/Utils/PDFError.swift /host/spi-builder-workspace/Source/API/Utils/PDFRenderObject.swift /host/spi-builder-workspace/Source/API/Utils/PDFTaggableObject.swift /host/spi-builder-workspace/Source/Internal/External/PDFExternalDocumentObject.swift /host/spi-builder-workspace/Source/Internal/External/PDFExternalPageObject.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFContext.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFContextGraphics.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFGraphics.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFLineObject.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFLineSeparatorObject+Equatable.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFLineSeparatorObject.swift /host/spi-builder-workspace/Source/Internal/Graphics/PDFRectangleObject.swift /host/spi-builder-workspace/Source/Internal/Graphics/UIColor+CloseToEqual.swift /host/spi-builder-workspace/Source/Internal/Group/PDFGroupObject.swift /host/spi-builder-workspace/Source/Internal/Image/PDFImageObject.swift /host/spi-builder-workspace/Source/Internal/Image/PDFImageRowObject.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFColumnLayoutState.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFIndentationObject+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFIndentationObject.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayout+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayout.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayoutHeights+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayoutHeights.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayoutIndentations+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFLayoutIndentations.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFMarginObject.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFOffsetObject+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFOffsetObject.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFPageBreakObject+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFPageBreakObject.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFPageLayout+Equatable.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFSectionColumnContainer.swift /host/spi-builder-workspace/Source/Internal/Layout/PDFSpaceObject.swift /host/spi-builder-workspace/Source/Internal/List/PDFListObject.swift /host/spi-builder-workspace/Source/Internal/Math/CGPoint+Math.swift /host/spi-builder-workspace/Source/Internal/Math/CGPoint+Null.swift /host/spi-builder-workspace/Source/Internal/PDFGenerator+Debug.swift /host/spi-builder-workspace/Source/Internal/PDFGenerator+Layout.swift /host/spi-builder-workspace/Source/Internal/Section/PDFColumnWrapSectionObject.swift /host/spi-builder-workspace/Source/Internal/Section/PDFSectionColumnObject.swift /host/spi-builder-workspace/Source/Internal/Section/PDFSectionObject.swift /host/spi-builder-workspace/Source/Internal/Table\ Of\ Content/PDFTableOfContentObject.swift /host/spi-builder-workspace/Source/Internal/Table/PDFTableCalculatedCell.swift /host/spi-builder-workspace/Source/Internal/Table/PDFTableMergeUtil.swift /host/spi-builder-workspace/Source/Internal/Table/PDFTableNode.swift /host/spi-builder-workspace/Source/Internal/Table/PDFTableObject.swift /host/spi-builder-workspace/Source/Internal/Table/PDFTableValidator.swift /host/spi-builder-workspace/Source/Internal/Text/PDFAttributedTextObject.swift /host/spi-builder-workspace/Source/Internal/Text/PDFFontObject.swift /host/spi-builder-workspace/Source/Internal/Text/PDFTextColorObject.swift /host/spi-builder-workspace/Source/Internal/Utils/Attributes/PDFAttributableObject.swift /host/spi-builder-workspace/Source/Internal/Utils/Attributes/PDFObjectAttribute.swift /host/spi-builder-workspace/Source/Internal/Utils/CustomStringConvertible+AutoDescribing.swift /host/spi-builder-workspace/Source/Internal/Utils/FileManager+TemporaryFiles.swift /host/spi-builder-workspace/Source/Internal/Utils/Int+RomanNumerals.swift /host/spi-builder-workspace/Source/Internal/Utils/PDFCalculations.swift /host/spi-builder-workspace/Source/Internal/Utils/PDFLocatedRenderObject.swift /host/spi-builder-workspace/Source/Internal/Utils/PDFSlicedObject.swift /host/spi-builder-workspace/Source/Internal/Utils/Stack.swift /host/spi-builder-workspace/Source/Internal/Utils/WeakRef.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/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name TPPDF -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/TPPDF_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/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/Modules/TPPDF.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/Modules/TPPDF.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/TPPDF-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/TPPDF-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/TPPDF-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/TPPDF.build/Debug-webassembly-wasm32/TPPDF-t.build/Objects-normal/wasm32/Modules/TPPDF.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm