The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NavLibSwift, reference 3.0.0 (37eeac), with Swift 6.3 for Wasm on 18 Apr 2026 04:32:11 UTC.

Build Command

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

Build Log

16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[5/11] Compiling NavLib Types.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[6/11] Compiling NavLib NavLibInstance.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/11] Emitting module NavLib
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[8/11] Compiling NavLib NavLibValue.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[9/11] Compiling NavLib NavLibInstance+Subscripts.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[10/11] Compiling NavLib NavLibSession.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
[11/11] Compiling NavLib NavLibStateProvider.swift
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- note: while building module 'std_inttypes_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "inttypes.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
253 |
254 | #  if __has_include_next(<inttypes.h>)
255 | #    include_next <inttypes.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/inttypes.h:255:
256 | #  endif
257 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang/include/inttypes.h:24:15: error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 22 | #endif
 23 |
 24 | #include_next <inttypes.h>
    |               `- error: cyclic dependency in module 'SwiftWASILibc': SwiftWASILibc -> std_inttypes_h -> SwiftWASILibc
 25 |
 26 | #if defined(_MSC_VER) && _MSC_VER < 1900
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- note: while building module 'SwiftWASILibc' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:
  9 |
 10 | #define __NEED_FILE
<module-includes>:14:10: note: in file included from <module-includes>:14:
12 | #include "string.h"
13 | #include "time.h"
14 | #include "arpa/inet.h"
   |          `- note: in file included from <module-includes>:14:
15 | #include "cpio.h"
16 | #include "dirent.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:10: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
 7 |
 8 | #include <features.h>
 9 | #include <netinet/in.h>
   |          `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/arpa/inet.h:9:
10 |
11 | uint32_t htonl(uint32_t);
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/netinet/in.h:9:10: error: could not build module 'std_inttypes_h'
  7 |
  8 | #include <features.h>
  9 | #include <inttypes.h>
    |          `- error: could not build module 'std_inttypes_h'
 10 | #include <sys/socket.h>
 11 | #ifdef __wasilibc_unmodified_upstream /* Use alternate WASI libc headers */
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h"
  |          `- note: in file included from <module-includes>:1:
2 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h"
3 | #include "/host/spi-builder-workspace/Sources/NavLibCpp/navlib_defines.h"
/host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 1 | #include "navlib_base.h"
   |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/NavLib.h:1:
 2 | #include "navlib_error.h"
 3 | #include <stdbool.h>
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 28 | // </description>
 29 |
 30 | #include "navlib_types.h"
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_base.h:30:
 31 | /// <summary>
 32 | /// Contains the navigation library API types and functions
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  43 |
  44 | // 3dxware
  45 | #include "siappcmd_types.h"
     |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:45:
  46 |
  47 | // stdlib
/host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:10: note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 42 | #else
 43 | #include <stdint.h>
 44 | #include <wchar.h>
    |          `- note: in file included from /host/spi-builder-workspace/Sources/NavLibCpp/siappcmd_types.h:44:
 45 | #endif
 46 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
114 | // times to get different definitions based on the macros that are set before inclusion.
115 | #  if __has_include_next(<wchar.h>)
116 | #    include_next <wchar.h>
    |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wchar.h:116:
117 | #  endif
118 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wchar.h:8:10: error: could not build module 'SwiftWASILibc'
  6 | #endif
  7 |
  8 | #include <features.h>
    |          `- error: could not build module 'SwiftWASILibc'
  9 |
 10 | #define __NEED_FILE
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:10: note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
1 | #warning redirecting incorrect #include <sys/errno.h> to <errno.h>
2 | #include <errno.h>
  |          `- note: while building module 'std_errno_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/sys/errno.h:2:
3 |
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "errno.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/errno.h:35:19: error: could not build module 'SwiftWASILibc'
 33 |
 34 | #  if __has_include_next(<errno.h>)
 35 | #    include_next <errno.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 36 | #  endif
 37 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:10: note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  47 | // stdlib
  48 | #include <sys/errno.h>
  49 | #include <string.h>
     |          `- note: while building module 'std_string_h' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:49:
  50 |
  51 | #if __cplusplus
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "string.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/string.h:64:19: error: could not build module 'SwiftWASILibc'
 62 |
 63 | #  if __has_include_next(<string.h>)
 64 | #    include_next <string.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 65 | #  endif
 66 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- note: while building module 'std_ctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "ctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/ctype.h:42:19: error: could not build module 'SwiftWASILibc'
40 |
41 | #  if __has_include_next(<ctype.h>)
42 | #    include_next <ctype.h>
   |                   `- error: could not build module 'SwiftWASILibc'
43 | #  endif
44 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
<module-includes>:1:10: note: in file included from <module-includes>:1:
  1 | #include "algorithm"
    |          `- note: in file included from <module-includes>:1:
  2 | #include "__algorithm/adjacent_find.h"
  3 | #include "__algorithm/all_of.h"
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1854 | #  include <__algorithm/fill.h>
1855 | #  include <__algorithm/fill_n.h>
1856 | #  include <__algorithm/find.h>
     |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/algorithm:1856:
1857 | #  include <__algorithm/find_end.h>
1858 | #  include <__algorithm/find_first_of.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 30 |
 31 | #if _LIBCPP_HAS_WIDE_CHARACTERS
 32 | #  include <cwchar>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/__algorithm/find.h:32:
 33 | #endif
 34 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
114 | #  include <__type_traits/is_same.h>
115 | #  include <__type_traits/remove_cv.h>
116 | #  include <cwctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwchar:116:
117 |
118 | #  include <wchar.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:12: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 54 | #else
 55 | #  include <__config>
 56 | #  include <cctype>
    |            `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:56:
 57 |
 58 | #  include <wctype.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cctype:42:12: error: could not build module 'std_ctype_h'
 40 | #  include <__config>
 41 |
 42 | #  include <ctype.h>
    |            `- error: could not build module 'std_ctype_h'
 43 |
 44 | #  ifndef _LIBCPP_CTYPE_H
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:12: note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 56 | #  include <cctype>
 57 |
 58 | #  include <wctype.h>
    |            `- note: while building module 'std_wctype_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cwctype:58:
 59 |
 60 | #  ifndef _LIBCPP_WCTYPE_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "wctype.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:19: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
64 | // will fail because it does not refer to the same declaration.
65 | #  if __has_include_next(<wctype.h>)
66 | #    include_next <wctype.h>
   |                   `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/wctype.h:66:
67 | #    define _LIBCPP_INCLUDED_C_LIBRARY_WCTYPE_H
68 | #  endif
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/wctype.h:8:10: error: could not build module 'SwiftWASILibc'
 6 | #endif
 7 |
 8 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
 9 |
10 | #define __NEED_wint_t
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:12: note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
329 |
330 | #  include <__math/special_functions.h>
331 | #  include <math.h>
    |            `- note: while building module 'std_math_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cmath:331:
332 |
333 | #  ifndef _LIBCPP_MATH_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "math.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/math.h:304:21: error: could not build module 'SwiftWASILibc'
302 |
303 | #    if __has_include_next(<math.h>)
304 | #      include_next <math.h>
    |                     `- error: could not build module 'SwiftWASILibc'
305 | #    endif
306 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:12: note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
58 | #  include <__config>
59 |
60 | #  include <fenv.h>
   |            `- note: while building module 'std_fenv_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cfenv:60:
61 |
62 | #  ifndef _LIBCPP_FENV_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "fenv.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/fenv.h:62:19: error: could not build module 'SwiftWASILibc'
 60 |
 61 | #  if __has_include_next(<fenv.h>)
 62 | #    include_next <fenv.h>
    |                   `- error: could not build module 'SwiftWASILibc'
 63 | #  endif
 64 |
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:14: note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
47 | // <signal.h> is not provided by libc++
48 | #  if __has_include(<signal.h>)
49 | #    include <signal.h>
   |              `- note: while building module 'wasi_emulated_signal' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/csignal:49:
50 | #    ifdef _LIBCPP_SIGNAL_H
51 | #      error "If libc++ starts defining <signal.h>, the __has_include check should move to libc++'s <signal.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.3-RELEASE_wasm.artifactbundle/swift-6.3-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
/host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:10: note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  50 |
  51 | #if __cplusplus
  52 | #include <iterator>
     |          `- note: while building module 'std' imported from /host/spi-builder-workspace/Sources/NavLibCpp/navlib_types.h:52:
  53 | #include <memory>
  54 | #include <sstream>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:12: note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
43 | #  include <__cstddef/size_t.h>
44 |
45 | #  include <uchar.h>
   |            `- note: while building module 'std_uchar_h' imported from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/cuchar:45:
46 |
47 | #  ifndef _LIBCPP_UCHAR_H
<module-includes>:1:10: note: in file included from <module-includes>:1:
1 | #include "uchar.h"
  |          `- note: in file included from <module-includes>:1:
2 |
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:21: note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
49 | // get the declaration of mbstate_t too.
50 | #    if __has_include_next(<uchar.h>)
51 | #      include_next <uchar.h>
   |                     `- note: in file included from /root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/c++/v1/uchar.h:51:
52 | #    else
53 | #      include <__mbstate_t.h>
/root/.swiftpm/swift-sdks/swift-6.3-RELEASE_wasm.artifactbundle/swift-6.3-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk/include/wasm32-wasip1/uchar.h:16:10: error: could not build module 'SwiftWASILibc'
14 | #define __NEED_size_t
15 |
16 | #include <features.h>
   |          `- error: could not build module 'SwiftWASILibc'
17 | #include <bits/alltypes.h>
18 |
/host/spi-builder-workspace/Sources/NavLib/Internal/NavLibInstance+Subscripts.swift:1:8: error: could not build C module 'NavLibCpp'
 1 | import NavLibCpp
   |        `- error: could not build C module 'NavLibCpp'
 2 | import Foundation
 3 |
BUILD FAILURE 6.3 wasm