The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MPPKit, reference 0.7.0 (dd05e2), with Swift 6.3 for Wasm on 18 Nov 2026 19:18:42 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.3-latest swift build --swift-sdk swift-6.3.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: 0.7.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/Molch-ApS/MPPKit
 * tag               0.7.0      -> FETCH_HEAD
HEAD is now at dd05e2c Resource calendars, No Later Than constraints, actual finish, rate tables A to E, in-progress split gaps (#44)
Cloned https://github.com/Molch-ApS/MPPKit.git
Revision (git rev-parse @):
dd05e2c040b7d9a6e31a6df2c828c8959f1af37b
SUCCESS checkout https://github.com/Molch-ApS/MPPKit.git at 0.7.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
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.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:d3f568d85e0aea9035607cd00c00b956e2abec4c377680cdb286c930e5f653a0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/37] Emitting module MPPModel
[9/39] Compiling MPPModel WorkingTime.swift
[10/39] Compiling MPPModel Zlib.swift
[11/39] Compiling MPPModel Scheduler.swift
[12/39] Compiling MPPModel Shifts.swift
[13/39] Compiling MPPCFB OLEPropertySet.swift
[14/39] Compiling MPPCFB CFBWriter.swift
[15/39] Emitting module MPPCFB
[16/39] Compiling MPPCFB BinaryReader.swift
[17/39] Compiling MPPCFB CFBFile.swift
[18/39] Compiling MPPCFB CFBStorage.swift
[19/40] Wrapping AST for MPPCFB for debugging
[21/40] Compiling MPPModel DependencyGraph.swift
[22/40] Compiling MPPModel ExtraBaselines.swift
[23/40] Compiling MPPModel ProjectEditing.swift
[24/40] Compiling MPPModel ResourceLoad.swift
[25/40] Compiling MPPModel Float.swift
[26/40] Compiling MPPModel Holidays.swift
[27/40] Compiling MPPModel ChunkedProperties.swift
[28/40] Compiling MPPModel Clipboard.swift
[29/40] Compiling MPPModel Costs.swift
[30/40] Compiling MPPModel MSPDI.swift
[31/40] Compiling MPPModel Model.swift
[32/40] Compiling MPPModel Limits.swift
[33/40] Compiling MPPModel LinuxShims.swift
[34/41] Wrapping AST for MPPModel for debugging
[36/56] Compiling MPPGantt LinuxShims.swift
[37/56] Compiling MPPGantt Timescale.swift
[38/56] Compiling MPPGantt SpatialIndex.swift
[39/56] Emitting module MPPGantt
[40/56] Compiling MPPGantt GanttLayout.swift
[42/57] Compiling MPP14 CalendarTable.swift
[42/57] Wrapping AST for MPPGantt for debugging
[44/57] Compiling MPP14 Conformance.swift
[45/58] Compiling MPP14 OutlineCodeTable.swift
[46/58] Compiling MPP14 SplitWork.swift
[47/58] Compiling MPP14 Blocks.swift
[48/58] Compiling MPP14 CalendarData.swift
[49/58] Emitting module MPP14
[50/58] Compiling MPP14 MPP14Template.swift
[51/58] Compiling MPP14 Costs.swift
[52/58] Compiling MPP14 MPP14Reader.swift
[53/58] Compiling MPP14 MPP14Writer.swift
[54/59] Wrapping AST for MPP14 for debugging
[56/62] Emitting module MPPKit
[57/62] Compiling MPPKit MPPKit.swift
[58/62] Compiling MPPKit SampleProject.swift
[59/63] Wrapping AST for MPPKit for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/65] 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:288:10: error: cannot find 'MSPDI' in scope
286 | if command == "xml" {
287 |     guard args.count >= 4 else { usage(); exit(2) }
288 |     try! MSPDI.data(loadProject()).write(to: URL(fileURLWithPath: args[3]))
    |          `- error: cannot find 'MSPDI' in scope
289 |     let back = try! MSPDI.project(from: Data(contentsOf: URL(fileURLWithPath: args[3])))
290 |     print("wrote \(args[3]); reads back \(back.tasks.count) tasks, \(back.relations.count) links, \(back.resources.count) resources")
/host/spi-builder-workspace/Sources/mppdump/main.swift:289:21: error: cannot find 'MSPDI' in scope
287 |     guard args.count >= 4 else { usage(); exit(2) }
288 |     try! MSPDI.data(loadProject()).write(to: URL(fileURLWithPath: args[3]))
289 |     let back = try! MSPDI.project(from: Data(contentsOf: URL(fileURLWithPath: args[3])))
    |                     `- error: cannot find 'MSPDI' in scope
290 |     print("wrote \(args[3]); reads back \(back.tasks.count) tasks, \(back.relations.count) links, \(back.resources.count) resources")
291 |     exit(0)
/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 {
[62/65] 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:288:10: error: cannot find 'MSPDI' in scope
286 | if command == "xml" {
287 |     guard args.count >= 4 else { usage(); exit(2) }
288 |     try! MSPDI.data(loadProject()).write(to: URL(fileURLWithPath: args[3]))
    |          `- error: cannot find 'MSPDI' in scope
289 |     let back = try! MSPDI.project(from: Data(contentsOf: URL(fileURLWithPath: args[3])))
290 |     print("wrote \(args[3]); reads back \(back.tasks.count) tasks, \(back.relations.count) links, \(back.resources.count) resources")
/host/spi-builder-workspace/Sources/mppdump/main.swift:289:21: error: cannot find 'MSPDI' in scope
287 |     guard args.count >= 4 else { usage(); exit(2) }
288 |     try! MSPDI.data(loadProject()).write(to: URL(fileURLWithPath: args[3]))
289 |     let back = try! MSPDI.project(from: Data(contentsOf: URL(fileURLWithPath: args[3])))
    |                     `- error: cannot find 'MSPDI' in scope
290 |     print("wrote \(args[3]); reads back \(back.tasks.count) tasks, \(back.relations.count) links, \(back.resources.count) resources")
291 |     exit(0)
/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.3 wasm