The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MPPKit, reference 0.7.0 (dd05e2), with Swift 6.1 for Wasm on 18 Nov 2026 19:18:55 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 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.1
Building package at path:  $PWD
https://github.com/Molch-ApS/MPPKit.git
https://github.com/Molch-ApS/MPPKit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
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.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
Building for debugging...
[0/15] Write sources
[6/15] Write swift-version-24593BA9C3E375BF.txt
[8/37] Emitting module MPPCFB
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[9/37] Compiling MPPCFB BinaryReader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[10/37] Compiling MPPModel ProjectEditing.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[11/37] Compiling MPPModel ResourceLoad.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[12/39] Compiling MPPModel DependencyGraph.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[13/39] Compiling MPPModel ExtraBaselines.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[14/39] Compiling MPPCFB CFBWriter.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[15/39] Compiling MPPCFB CFBFile.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[16/39] Compiling MPPCFB OLEPropertySet.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[17/39] Compiling MPPCFB CFBStorage.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[18/39] Compiling MPPModel Scheduler.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[19/39] Compiling MPPModel Shifts.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[20/40] Compiling MPPModel MSPDI.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[21/40] Compiling MPPModel Model.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[22/40] Wrapping AST for MPPCFB for debugging
[24/40] Compiling MPPModel WorkingTime.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[25/40] Compiling MPPModel Zlib.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[26/40] Compiling MPPModel Float.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[27/40] Compiling MPPModel Holidays.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[28/40] Compiling MPPModel Limits.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[29/40] Compiling MPPModel LinuxShims.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[30/40] Compiling MPPModel ChunkedProperties.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[31/40] Compiling MPPModel Clipboard.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[32/40] Compiling MPPModel Costs.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[33/40] Emitting module MPPModel
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[34/41] Wrapping AST for MPPModel for debugging
[36/56] Compiling MPPGantt SpatialIndex.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[37/56] Compiling MPPGantt Timescale.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[38/56] Compiling MPPGantt LinuxShims.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[39/56] Compiling MPPGantt GanttLayout.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[40/56] Emitting module MPPGantt
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[41/57] Wrapping AST for MPPGantt for debugging
[43/57] Compiling MPP14 Blocks.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[44/57] Compiling MPP14 CalendarData.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[45/58] Compiling MPP14 SplitWork.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[46/58] Compiling MPP14 OutlineCodeTable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[47/58] Emitting module MPP14
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[48/58] Compiling MPP14 MPP14Reader.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[49/58] Compiling MPP14 CalendarTable.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[50/58] Compiling MPP14 Conformance.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[51/58] Compiling MPP14 Costs.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[52/58] Compiling MPP14 MPP14Template.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[53/58] Compiling MPP14 MPP14Writer.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[54/59] Wrapping AST for MPP14 for debugging
[56/62] Compiling MPPKit MPPKit.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[57/62] Emitting module MPPKit
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[58/62] Compiling MPPKit SampleProject.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/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 {
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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:46373e069458549b0fb0727bf4d0f0bb9d8a18a2e211e19b57193bdf60e4b3d5
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/9] Write swift-version-24593BA9C3E375BF.txt
[2/31] Compiling MPPCFB OLEPropertySet.swift
[3/31] Compiling MPPCFB CFBStorage.swift
[4/31] Compiling MPPCFB CFBWriter.swift
[5/31] Compiling MPPModel DependencyGraph.swift
[6/31] Compiling MPPModel ExtraBaselines.swift
[7/31] Emitting module MPPCFB
[8/31] Compiling MPPCFB CFBFile.swift
[9/31] Compiling MPPCFB BinaryReader.swift
[11/33] Compiling MPPModel ProjectEditing.swift
[12/33] Compiling MPPModel ResourceLoad.swift
[13/33] Compiling MPPModel Scheduler.swift
[14/33] Compiling MPPModel Shifts.swift
[15/33] Compiling MPPModel MSPDI.swift
[16/33] Compiling MPPModel Model.swift
[17/33] Compiling MPPModel WorkingTime.swift
[18/33] Compiling MPPModel Zlib.swift
[19/33] Compiling MPPModel Limits.swift
[20/33] Compiling MPPModel LinuxShims.swift
[21/33] Emitting module MPPModel
[22/33] Compiling MPPModel Float.swift
[23/33] Compiling MPPModel Holidays.swift
[24/33] Compiling MPPModel ChunkedProperties.swift
[25/33] Compiling MPPModel Clipboard.swift
[26/33] Compiling MPPModel Costs.swift
[28/48] Compiling MPPGantt Timescale.swift
[29/48] Compiling MPPGantt SpatialIndex.swift
[30/48] Compiling MPPGantt LinuxShims.swift
[31/48] Compiling MPP14 Costs.swift
[32/48] Emitting module MPPGantt
[33/48] Compiling MPPGantt GanttLayout.swift
[35/49] Compiling MPP14 SplitWork.swift
[36/49] Compiling MPP14 MPP14Template.swift
[37/49] Compiling MPP14 OutlineCodeTable.swift
[38/49] Compiling MPP14 Blocks.swift
[39/49] Compiling MPP14 CalendarData.swift
[40/49] Compiling MPP14 MPP14Reader.swift
[41/49] Emitting module MPP14
[42/49] Compiling MPP14 CalendarTable.swift
[43/49] Compiling MPP14 Conformance.swift
[44/49] Compiling MPP14 MPP14Writer.swift
[46/52] Compiling MPPKit MPPKit.swift
[47/52] Compiling MPPKit SampleProject.swift
[48/52] Emitting module MPPKit
error: emit-module command failed with exit code 1 (use -v to see invocation)
[50/54] 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 {
[51/54] 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.1 wasm