The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MPPKit, reference main (2a6c41), with Swift 6.2 for Wasm on 29 Nov 2026 13:32:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Molch-ApS/MPPKit.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/Molch-ApS/MPPKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 2a6c414 README: install from 0.7.0, the current release (#47)
Cloned https://github.com/Molch-ApS/MPPKit.git
Revision (git rev-parse @):
2a6c41471afa6e39136ee8cd8c07eff2639bb1c5
SUCCESS checkout https://github.com/Molch-ApS/MPPKit.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Molch-ApS/MPPKit.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-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.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:0edccce2083c005c7cf1d4a8cd47fd86214ad7a39c32bca4f7db4cf90ab01f49
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.2-latest
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/39] Emitting module MPPModel
[9/41] Compiling MPPCFB FileIntegers.swift
[10/41] Compiling MPPModel ChunkedProperties.swift
[11/41] Compiling MPPModel Clipboard.swift
[12/41] Compiling MPPModel Costs.swift
[13/41] Compiling MPPModel Scheduler.swift
[14/41] Compiling MPPModel Shifts.swift
[15/41] Compiling MPPModel ProjectEditing.swift
[16/41] Compiling MPPModel ResourceLoad.swift
[17/41] Compiling MPPModel WorkingTime.swift
[18/41] Compiling MPPModel Zlib.swift
[19/41] Compiling MPPCFB CFBFile.swift
[20/41] Compiling MPPCFB BinaryReader.swift
[21/41] Compiling MPPCFB CFBWriter.swift
[22/41] Compiling MPPCFB OLEPropertySet.swift
[23/41] Emitting module MPPCFB
[24/41] Compiling MPPCFB CFBStorage.swift
[25/42] Wrapping AST for MPPCFB for debugging
[27/42] Compiling MPPModel MSPDI.swift
[28/42] Compiling MPPModel Model.swift
[29/42] Compiling MPPModel Float.swift
[30/42] Compiling MPPModel Holidays.swift
[31/42] Compiling MPPModel Limits.swift
[32/42] Compiling MPPModel LinuxShims.swift
[33/42] Compiling MPPModel DependencyGraph.swift
[34/42] Compiling MPPModel ExtraBaselines.swift
[35/42] Compiling MPPModel FileIntegers.swift
[36/43] Wrapping AST for MPPModel for debugging
[38/60] Compiling MPPGantt Timescale.swift
[39/60] Compiling MPPGantt SpatialIndex.swift
[40/60] Compiling MPPGantt LinuxShims.swift
[41/60] Compiling MPPGantt GanttLayout.swift
[42/60] Emitting module MPPGantt
[43/60] Compiling MPPGantt FileIntegers.swift
[45/61] Compiling MPP14 CalendarTable.swift
[45/61] Wrapping AST for MPPGantt for debugging
[47/61] Compiling MPP14 Conformance.swift
[48/62] Compiling MPP14 SplitWork.swift
[49/62] Compiling MPP14 OutlineCodeTable.swift
[50/62] Emitting module MPP14
[51/62] Compiling MPP14 MPP14Reader.swift
[52/62] Compiling MPP14 Costs.swift
[53/62] Compiling MPP14 FileIntegers.swift
[54/62] Compiling MPP14 Blocks.swift
[55/62] Compiling MPP14 CalendarData.swift
[56/62] Compiling MPP14 MPP14Writer.swift
[57/62] Compiling MPP14 MPP14Template.swift
[58/63] Wrapping AST for MPP14 for debugging
[60/66] Emitting module MPPKit
[61/66] Compiling MPPKit MPPKit.swift
[62/66] Compiling MPPKit SampleProject.swift
[63/67] Wrapping AST for MPPKit for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[65/69] Emitting module mppdump
/host/spi-builder-workspace/Sources/mppdump/main.swift:253:11: error: ambiguous use of 'init(format:_:)'
251 |         times.append(Date().timeIntervalSince(t0) * 1000)
252 |     }
253 |     print(String(format: "%d tasks, %d links: schedule %.1f ms (best of 5)", p.tasks.count, p.relations.count, times.min()!))
    |           `- error: ambiguous use of 'init(format:_:)'
254 |     exit(0)
255 | }
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
/host/spi-builder-workspace/Sources/mppdump/main.swift:403:34: error: ambiguous use of 'init(format:_:)'
401 |             print("   " + pad(String(i), 5) + pad(String(item.nativeID), 8, right: true)
402 |                   + pad(String(item.block), 7, right: true) + pad(String(item.offset), 9, right: true)
403 |                   + "  0x" + pad(String(format: "%02X", item.category), 5) + hexPreview(item.raw, limit: 12))
    |                                  `- error: ambiguous use of 'init(format:_:)'
404 |         }
405 |         if items.count > 200 { print("   … \(items.count - 200) more") }
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
[66/69] Compiling mppdump main.swift
/host/spi-builder-workspace/Sources/mppdump/main.swift:253:11: error: ambiguous use of 'init(format:_:)'
251 |         times.append(Date().timeIntervalSince(t0) * 1000)
252 |     }
253 |     print(String(format: "%d tasks, %d links: schedule %.1f ms (best of 5)", p.tasks.count, p.relations.count, times.min()!))
    |           `- error: ambiguous use of 'init(format:_:)'
254 |     exit(0)
255 | }
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
/host/spi-builder-workspace/Sources/mppdump/main.swift:403:34: error: ambiguous use of 'init(format:_:)'
401 |             print("   " + pad(String(i), 5) + pad(String(item.nativeID), 8, right: true)
402 |                   + pad(String(item.block), 7, right: true) + pad(String(item.offset), 9, right: true)
403 |                   + "  0x" + pad(String(format: "%02X", item.category), 5) + hexPreview(item.raw, limit: 12))
    |                                  `- error: ambiguous use of 'init(format:_:)'
404 |         }
405 |         if items.count > 200 { print("   … \(items.count - 200) more") }
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
/host/spi-builder-workspace/Sources/mppdump/main.swift:491:38: error: ambiguous use of 'init(format:_:)'
489 |     let project = loadProject()
490 |     let weekdays = ["", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"]
491 |     func clock(_ m: Int) -> String { String(format: "%02d:%02d", m / 60, m % 60) }
    |                                      `- error: ambiguous use of 'init(format:_:)'
492 |     func describe(_ cal: ProjectCalendar, kind: String) {
493 |         var title = "\(kind) uid \(cal.uid) \(cal.name.debugDescription)"
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
/host/spi-builder-workspace/Sources/mppdump/main.swift:106:31: error: ambiguous use of 'init(format:_:)'
104 |
105 | func hexPreview(_ value: [UInt8], limit: Int = 20) -> String {
106 |     value.prefix(limit).map { String(format: "%02x", $0) }.joined(separator: " ")
    |                               `- error: ambiguous use of 'init(format:_:)'
107 | }
108 |
Foundation.String.init:2:8: note: found this candidate in module 'Foundation'
1 | struct String {
2 | public init(format: __shared String, _ arguments: any CVarArg...)}
  |        `- note: found this candidate in module 'Foundation'
3 |
/host/spi-builder-workspace/Sources/MPPModel/LinuxShims.swift:36:12: note: found this candidate in module 'MPPModel'
34 | extension String {
35 |     /// `String(format:)` for the integer patterns MPPKit uses: %d, %0Nd, %02x.
36 |     public init(format: String, _ args: CVarArg...) {
   |            `- note: found this candidate in module 'MPPModel'
37 |         var out = "", i = format.startIndex, n = 0
38 |         while i < format.endIndex {
BUILD FAILURE 6.2 wasm