The Swift Package Index logo.Swift Package Index

Build Information

Failed to build swift-midi, reference 1.1.0 (17e72a), with Swift 6.2 for Wasm on 25 Jun 2026 14:42:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 84b05a9e9cc18f95437d4cb621188f156013198a
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/orchetect/swift-midi.git
Reference: 1.1.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/orchetect/swift-midi
 * tag               1.1.0      -> FETCH_HEAD
HEAD is now at 17e72aa Bumped dependency versions
Cloned https://github.com/orchetect/swift-midi.git
Revision (git rev-parse @):
17e72aa3b73b05d195481dd72c05bc91433be119
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/orchetect/swift-midi.git at 1.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/orchetect/swift-midi.git
WARNING: environment variable DOCKER_REGISTRY is not set
WARNING: environment variable DOCKER_IMAGE is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk swift-6.2-RELEASE_wasm 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:7f35f7a63421c3ef050c9375efcbb60196c0ee099fe4e9f14f3ceef5fa7b1aa5
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
Fetching https://github.com/orchetect/swift-midi-file
Fetching https://github.com/orchetect/swift-midi-sync
Fetching https://github.com/orchetect/swift-midi-core
Fetching https://github.com/orchetect/swift-midi-io
Fetching https://github.com/orchetect/swift-midi-ui
Fetching https://github.com/orchetect/swift-midi-controlsurfaces
[1/815] Fetching swift-midi-file
[2/1231] Fetching swift-midi-file, swift-midi-ui
[15/1554] Fetching swift-midi-file, swift-midi-ui, swift-midi-sync
[878/3249] Fetching swift-midi-file, swift-midi-ui, swift-midi-sync, swift-midi-io
[3250/3788] Fetching swift-midi-file, swift-midi-ui, swift-midi-sync, swift-midi-io, swift-midi-controlsurfaces
Fetched https://github.com/orchetect/swift-midi-ui from cache (0.44s)
Fetched https://github.com/orchetect/swift-midi-controlsurfaces from cache (0.44s)
[1/1635] Fetching swift-midi-core
Fetched https://github.com/orchetect/swift-midi-sync from cache (0.76s)
Fetched https://github.com/orchetect/swift-midi-file from cache (0.76s)
Fetched https://github.com/orchetect/swift-midi-io from cache (0.76s)
Fetched https://github.com/orchetect/swift-midi-core from cache (0.76s)
Computing version for https://github.com/orchetect/swift-midi-ui
Computed https://github.com/orchetect/swift-midi-ui at 1.1.0 (0.98s)
Computing version for https://github.com/orchetect/swift-midi-sync
Computed https://github.com/orchetect/swift-midi-sync at 1.0.1 (0.21s)
Fetching https://github.com/orchetect/swift-timecode
[1/27064] Fetching swift-timecode
Fetched https://github.com/orchetect/swift-timecode from cache (0.91s)
Computing version for https://github.com/orchetect/swift-midi-io
Computed https://github.com/orchetect/swift-midi-io at 1.1.0 (1.11s)
Computing version for https://github.com/orchetect/swift-midi-file
Computed https://github.com/orchetect/swift-midi-file at 1.0.1 (0.20s)
Fetching https://github.com/orchetect/swift-data-parsing
[1/880] Fetching swift-data-parsing
Fetched https://github.com/orchetect/swift-data-parsing from cache (0.66s)
Computing version for https://github.com/orchetect/swift-midi-core
Computed https://github.com/orchetect/swift-midi-core at 1.0.1 (0.88s)
Computing version for https://github.com/orchetect/swift-midi-controlsurfaces
Computed https://github.com/orchetect/swift-midi-controlsurfaces at 1.0.1 (0.20s)
Computing version for https://github.com/orchetect/swift-data-parsing
Computed https://github.com/orchetect/swift-data-parsing at 0.1.2 (0.20s)
Computing version for https://github.com/orchetect/swift-timecode
Computed https://github.com/orchetect/swift-timecode at 3.1.2 (0.86s)
Creating working copy for https://github.com/orchetect/swift-midi-file
Working copy of https://github.com/orchetect/swift-midi-file resolved at 1.0.1
Creating working copy for https://github.com/orchetect/swift-midi-core
Working copy of https://github.com/orchetect/swift-midi-core resolved at 1.0.1
Creating working copy for https://github.com/orchetect/swift-timecode
Working copy of https://github.com/orchetect/swift-timecode resolved at 3.1.2
Creating working copy for https://github.com/orchetect/swift-midi-sync
Working copy of https://github.com/orchetect/swift-midi-sync resolved at 1.0.1
Creating working copy for https://github.com/orchetect/swift-midi-controlsurfaces
Working copy of https://github.com/orchetect/swift-midi-controlsurfaces resolved at 1.0.1
Creating working copy for https://github.com/orchetect/swift-midi-io
Working copy of https://github.com/orchetect/swift-midi-io resolved at 1.1.0
Creating working copy for https://github.com/orchetect/swift-midi-ui
Working copy of https://github.com/orchetect/swift-midi-ui resolved at 1.1.0
Creating working copy for https://github.com/orchetect/swift-data-parsing
Working copy of https://github.com/orchetect/swift-data-parsing resolved at 0.1.2
Building for debugging...
[0/14] Write sources
[10/14] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/132] Emitting module SwiftDataParsing
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-data-parsing/Sources/SwiftDataParsing/Conversion/DataProtocol+Double.swift:9:13: error: could not build C module 'CoreFoundation'
  7 | #if canImport(Foundation) && canImport(CoreFoundation)
  8 |
  9 | import func CoreFoundation.CFConvertDoubleSwappedToHost
    |             `- error: could not build C module 'CoreFoundation'
 10 | import struct CoreFoundation.CFSwappedFloat32
 11 | import struct CoreFoundation.CFSwappedFloat64
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/135] Emitting module SwiftMIDIIO
/host/spi-builder-workspace/.build/checkouts/swift-midi-io/Sources/Unsupported/SwiftMIDIIO.swift:10:8: error: no such module 'CoreMIDI'
 8 |
 9 | // artificially cause the build to fail by attempting to import an Apple-only framework
10 | import CoreMIDI
   |        `- error: no such module 'CoreMIDI'
11 |
[14/135] Compiling SwiftMIDIIO SwiftMIDIIO.swift
/host/spi-builder-workspace/.build/checkouts/swift-midi-io/Sources/Unsupported/SwiftMIDIIO.swift:10:8: error: no such module 'CoreMIDI'
 8 |
 9 | // artificially cause the build to fail by attempting to import an Apple-only framework
10 | import CoreMIDI
   |        `- error: no such module 'CoreMIDI'
11 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:
 29 | #include <stddef.h>
 30 | #include <stdio.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "signal.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/signal.h:2:2: error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  1 | #ifndef _WASI_EMULATED_SIGNAL
  2 | #error "wasm lacks signal support; to enable minimal signal emulation, \
    |  `- error: "wasm lacks signal support; to enable minimal signal emulation, compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  3 | compile with -D_WASI_EMULATED_SIGNAL and link with -lwasi-emulated-signal"
  4 | #else
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "CoreFoundation.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/CoreFoundation.h:28:10: error: could not build module 'wasi_emulated_signal'
 26 | #include <setjmp.h>
 27 | #endif
 28 | #include <signal.h>
    |          `- error: could not build module 'wasi_emulated_signal'
 29 | #include <stddef.h>
 30 | #include <stdio.h>
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:10: note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 84 | #undef _WASI_EMULATED_MMAN
 85 | #define _WASI_EMULATED_MMAN
 86 | #include <sys/mman.h>
    |          `- note: while building module 'wasi_emulated_mman' imported from /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/CoreFoundation/ForSwiftFoundationOnly.h:86:
 87 | #elif TARGET_OS_LINUX
 88 | #include <errno.h>
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "sys/mman.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/mman.h:2:2: error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  1 | #ifndef _WASI_EMULATED_MMAN
  2 | #error "WASI lacks a true mmap; to enable minimal mmap emulation, \
    |  `- error: "WASI lacks a true mmap; to enable minimal mmap emulation, compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  3 | compile with -D_WASI_EMULATED_MMAN and link with -lwasi-emulated-mman"
  4 | #else
/host/spi-builder-workspace/.build/checkouts/swift-timecode/Sources/SwiftTimecodeCore/Utilities/Outsourced/FloatingPoint and Darwin.swift:83:36: error: 'Float80' is unavailable: Float80 is not available on target platform.
81 |     /// (Functional convenience method)
82 |     @_disfavoredOverload
83 |     package func power(_ exponent: Float80) -> Float80 {
   |                                    `- error: 'Float80' is unavailable: Float80 is not available on target platform.
84 |         powl(self, exponent)
85 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-timecode/Sources/SwiftTimecodeCore/Utilities/Outsourced/FloatingPoint and Darwin.swift:83:48: error: 'Float80' is unavailable: Float80 is not available on target platform.
81 |     /// (Functional convenience method)
82 |     @_disfavoredOverload
83 |     package func power(_ exponent: Float80) -> Float80 {
   |                                                `- error: 'Float80' is unavailable: Float80 is not available on target platform.
84 |         powl(self, exponent)
85 |     }
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-timecode/Sources/SwiftTimecodeCore/Utilities/Outsourced/FloatingPoint and Darwin.swift:79:11: error: 'Float80' is unavailable: Float80 is not available on target platform.
77 |
78 | #if !(arch(arm64) || arch(arm) || os(watchOS)) // Float80 is now removed for ARM
79 | extension Float80: FloatingPointPowerComputable {
   |           `- error: 'Float80' is unavailable: Float80 is not available on target platform.
80 |     /// Same as `powl()`
81 |     /// (Functional convenience method)
Swift.Float80:2:23: note: 'Float80' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "Float80 is not available on target platform.")
2 | @frozen public struct Float80 {
  |                       `- note: 'Float80' has been explicitly marked unavailable here
3 |     public init()
4 | }
/host/spi-builder-workspace/.build/checkouts/swift-timecode/Sources/SwiftTimecodeCore/Utilities/Outsourced/FloatingPoint and Darwin.swift:65:9: error: cannot find 'pow' in scope
63 |     @_disfavoredOverload
64 |     package func power(_ exponent: Double) -> Double {
65 |         pow(self, exponent)
   |         `- error: cannot find 'pow' in scope
66 |     }
67 | }
/host/spi-builder-workspace/.build/checkouts/swift-timecode/Sources/SwiftTimecodeCore/Utilities/Outsourced/FloatingPoint and Darwin.swift:74:9: error: cannot find 'powf' in scope
72 |     @_disfavoredOverload
73 |     package func power(_ exponent: Float) -> Float {
74 |         powf(self, exponent)
   |         `- error: cannot find 'powf' in scope
75 |     }
76 | }
BUILD FAILURE 6.2 wasm