The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build sma2mqtt, reference 3.1.2 (ab4f06), with Swift 6.1 for Wasm on 30 May 2025 04:46:40 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jollyjinx/sma2mqtt.git
Reference: 3.1.2
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/jollyjinx/sma2mqtt
 * tag               3.1.2      -> FETCH_HEAD
HEAD is now at ab4f067 Added multiarch (arm64/amd64) docker build file
Cloned https://github.com/jollyjinx/sma2mqtt.git
Revision (git rev-parse @):
ab4f067c1911f16488a89a3716866dbb4bb96b53
SUCCESS checkout https://github.com/jollyjinx/sma2mqtt.git at 3.1.2
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/jollyjinx/sma2mqtt.git
https://github.com/jollyjinx/sma2mqtt.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swiftformat",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.51.12",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/nicklockwood/SwiftFormat"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.2",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.18.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    },
    {
      "identity" : "mqtt-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server-community/mqtt-nio"
    },
    {
      "identity" : "binarycoder",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.3.1",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jollyjinx/BinaryCoder"
    },
    {
      "identity" : "jlog",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.0.5",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jollyjinx/JLog"
    }
  ],
  "manifest_display_name" : "sma2mqtt",
  "name" : "sma2mqtt",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "sma2mqtt",
      "targets" : [
        "sma2mqtt"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "sma2mqttLibrary",
      "targets" : [
        "sma2mqttLibrary"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "sma2mqttTests",
      "module_type" : "SwiftTarget",
      "name" : "sma2mqttTests",
      "path" : "Tests/sma2mqttTests",
      "product_dependencies" : [
        "BinaryCoder",
        "JLog"
      ],
      "sources" : [
        "QueryQueueTests.swift",
        "SMAObjectTests.swift",
        "TestHelpers.swift",
        "sma2mqttTests.swift"
      ],
      "target_dependencies" : [
        "sma2mqttLibrary"
      ],
      "type" : "test"
    },
    {
      "c99name" : "sma2mqttLibrary",
      "module_type" : "SwiftTarget",
      "name" : "sma2mqttLibrary",
      "path" : "Sources/sma2mqttLibrary",
      "product_dependencies" : [
        "BinaryCoder",
        "AsyncHTTPClient",
        "MQTTNIO",
        "JLog"
      ],
      "product_memberships" : [
        "sma2mqtt",
        "sma2mqttLibrary"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sma.data.Translation_Names.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sma.data.objectMetaData.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/Obis/Resources/obisdefinition.json",
          "rule" : {
            "copy" : {
            }
          }
        },
        {
          "path" : "/host/spi-builder-workspace/Sources/sma2mqttLibrary/SMAPacket/Resources/SMANetPacketDefinitions.json",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DataObjects/GetValuesResult.swift",
        "DataObjects/PublishedValue.swift",
        "DataObjects/SMADataObject.swift",
        "DataObjects/SMATagTranslator.swift",
        "Obis/ObisDefinition.swift",
        "Obis/ObisPacket.swift",
        "Obis/ObisValue.swift",
        "SMADevice.swift",
        "SMALighthouse.swift",
        "SMAPacket/PacketHelper.swift",
        "SMAPacket/SMANetPacket.swift",
        "SMAPacket/SMANetPacketDefinition.swift",
        "SMAPacket/SMANetPacketHeader.swift",
        "SMAPacket/SMANetPacketValue.swift",
        "SMAPacket/SMAPacket.swift",
        "SMAPacket/SMAPacketGenerator.swift",
        "SMAPacket/SMATagPacket.swift",
        "Tools/DatedQueue.swift",
        "Tools/Extensions.swift",
        "Tools/HTTPClientProvider.swift",
        "Tools/IntervalLoop.swift",
        "Tools/MQTTPublisher.swift",
        "Tools/MutlicastReceiver.swift",
        "Tools/QueryQueue.swift",
        "Tools/RandomNumber.swift",
        "Tools/SMAUDPPort.swift"
      ],
      "target_dependencies" : [
        "CNative"
      ],
      "type" : "library"
    },
    {
      "c99name" : "sma2mqtt",
      "module_type" : "SwiftTarget",
      "name" : "sma2mqtt",
      "path" : "Sources/sma2mqtt",
      "product_dependencies" : [
        "ArgumentParser",
        "JLog"
      ],
      "product_memberships" : [
        "sma2mqtt"
      ],
      "sources" : [
        "sma2mqtt.swift"
      ],
      "target_dependencies" : [
        "sma2mqttLibrary"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CNative",
      "module_type" : "ClangTarget",
      "name" : "CNative",
      "path" : "Sources/CNative",
      "product_memberships" : [
        "sma2mqtt",
        "sma2mqttLibrary"
      ],
      "sources" : [
        "select.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.10"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/jollyjinx/BinaryCoder
Fetching https://github.com/nicklockwood/SwiftFormat
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/jollyjinx/JLog
Fetching https://github.com/swift-server-community/mqtt-nio
Fetching https://github.com/apple/swift-argument-parser
[1/93] Fetching jlog
[94/389] Fetching jlog, binarycoder
[390/14403] Fetching jlog, binarycoder, async-http-client
[2212/23230] Fetching jlog, binarycoder, async-http-client, mqtt-nio
Fetched https://github.com/jollyjinx/JLog from cache (1.03s)
[11712/23137] Fetching binarycoder, async-http-client, mqtt-nio
[12502/38523] Fetching binarycoder, async-http-client, mqtt-nio, swift-argument-parser
[35140/86731] Fetching binarycoder, async-http-client, mqtt-nio, swift-argument-parser, swiftformat
Fetched https://github.com/swift-server/async-http-client.git from cache (1.73s)
Fetched https://github.com/swift-server-community/mqtt-nio from cache (1.73s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.73s)
[4635/48504] Fetching binarycoder, swiftformat
Fetched https://github.com/jollyjinx/BinaryCoder from cache (35.04s)
Fetched https://github.com/nicklockwood/SwiftFormat from cache (35.86s)
Computing version for https://github.com/jollyjinx/BinaryCoder
Computed https://github.com/jollyjinx/BinaryCoder at 2.3.2 (37.43s)
Computing version for https://github.com/jollyjinx/JLog
Computed https://github.com/jollyjinx/JLog at 0.0.7 (4.62s)
Fetching https://github.com/Adorkable/swift-log-format-and-pipe
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/4026] Fetching swift-log, swift-log-format-and-pipe
Fetched https://github.com/Adorkable/swift-log-format-and-pipe from cache (6.60s)
Fetched https://github.com/apple/swift-log.git from cache (6.61s)
Computing version for https://github.com/Adorkable/swift-log-format-and-pipe
Computed https://github.com/Adorkable/swift-log-format-and-pipe at 0.1.1 (8.63s)
Computing version for https://github.com/swift-server-community/mqtt-nio
Computed https://github.com/swift-server-community/mqtt-nio at 2.12.1 (0.51s)
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-nio-transport-services.git
Fetching https://github.com/apple/swift-nio-ssl.git
[1/2667] Fetching swift-nio-transport-services
[2668/4377] Fetching swift-nio-transport-services, swift-atomics
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.33s)
[1112/1710] Fetching swift-atomics
[1711/16553] Fetching swift-atomics, swift-nio-ssl
[3047/92661] Fetching swift-atomics, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-atomics.git from cache (0.48s)
[4975/90951] Fetching swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.16s)
[56320/76108] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (6.91s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (8.83s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/16591] Fetching swift-collections
[499/20982] Fetching swift-collections, swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.53s)
[4480/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.17s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.87s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.61s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.67s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.63s)
Computing version for https://github.com/apple/swift-nio-transport-services.git
Computed https://github.com/apple/swift-nio-transport-services.git at 1.24.0 (0.49s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.62s)
Computing version for https://github.com/swift-server/async-http-client.git
Computed https://github.com/swift-server/async-http-client.git at 1.26.1 (0.65s)
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-algorithms.git
[1/5914] Fetching swift-nio-extras
[4437/11873] Fetching swift-nio-extras, swift-algorithms
[6988/23400] Fetching swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.65s)
[16334/17486] Fetching swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-algorithms.git from cache (1.26s)
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.28s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (1.89s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (0.75s)
Computing version for https://github.com/apple/swift-nio-extras.git
Computed https://github.com/apple/swift-nio-extras.git at 1.27.1 (0.59s)
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/apple/swift-certificates.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-async-algorithms.git
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
[1/1141] Fetching swift-http-structured-headers
[652/3567] Fetching swift-http-structured-headers, swift-service-lifecycle
[2331/4471] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types
[2865/6061] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-asn1
[5951/11046] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-http-types, swift-asn1, swift-async-algorithms
Fetched https://github.com/apple/swift-http-types.git from cache (0.33s)
[8099/10142] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-async-algorithms
[9645/16297] Fetching swift-http-structured-headers, swift-service-lifecycle, swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.45s)
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.45s)
[12361/12730] Fetching swift-asn1, swift-async-algorithms, swift-certificates
Fetched https://github.com/apple/swift-asn1.git from cache (0.46s)
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.46s)
[6094/6155] Fetching swift-certificates
Fetched https://github.com/apple/swift-certificates.git from cache (0.57s)
Computing version for https://github.com/swift-server/swift-service-lifecycle.git
Computed https://github.com/swift-server/swift-service-lifecycle.git at 2.8.0 (1.42s)
Computing version for https://github.com/apple/swift-async-algorithms.git
Computed https://github.com/apple/swift-async-algorithms.git at 1.0.4 (0.87s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (6.21s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.56s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.50s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.53s)
Fetching https://github.com/apple/swift-numerics.git
[1/5706] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.44s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (0.98s)
Computing version for https://github.com/apple/swift-http-types.git
Computed https://github.com/apple/swift-http-types.git at 1.4.0 (0.46s)
Computing version for https://github.com/apple/swift-http-structured-headers.git
Computed https://github.com/apple/swift-http-structured-headers.git at 1.3.0 (0.48s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.57s)
Computing version for https://github.com/nicklockwood/SwiftFormat
Computed https://github.com/nicklockwood/SwiftFormat at 0.56.2 (0.56s)
Creating working copy for https://github.com/swift-server/async-http-client.git
Working copy of https://github.com/swift-server/async-http-client.git resolved at 1.26.1
Creating working copy for https://github.com/apple/swift-nio-http2.git
Working copy of https://github.com/apple/swift-nio-http2.git resolved at 1.36.0
Creating working copy for https://github.com/jollyjinx/BinaryCoder
Working copy of https://github.com/jollyjinx/BinaryCoder resolved at 2.3.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.0.3
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/jollyjinx/JLog
Working copy of https://github.com/jollyjinx/JLog resolved at 0.0.7
Creating working copy for https://github.com/nicklockwood/SwiftFormat
Working copy of https://github.com/nicklockwood/SwiftFormat resolved at 0.56.2
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.6.3
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.3.2
Creating working copy for https://github.com/swift-server-community/mqtt-nio
Working copy of https://github.com/swift-server-community/mqtt-nio resolved at 2.12.1
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.12.3
Creating working copy for https://github.com/apple/swift-nio-extras.git
Working copy of https://github.com/apple/swift-nio-extras.git resolved at 1.27.1
Creating working copy for https://github.com/Adorkable/swift-log-format-and-pipe
Working copy of https://github.com/Adorkable/swift-log-format-and-pipe resolved at 0.1.1
Creating working copy for https://github.com/apple/swift-http-structured-headers.git
Working copy of https://github.com/apple/swift-http-structured-headers.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/apple/swift-async-algorithms.git
Working copy of https://github.com/apple/swift-async-algorithms.git resolved at 1.0.4
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-http-types.git
Working copy of https://github.com/apple/swift-http-types.git resolved at 1.4.0
Creating working copy for https://github.com/apple/swift-nio-transport-services.git
Working copy of https://github.com/apple/swift-nio-transport-services.git resolved at 1.24.0
Creating working copy for https://github.com/apple/swift-certificates.git
Working copy of https://github.com/apple/swift-certificates.git resolved at 1.10.0
Creating working copy for https://github.com/apple/swift-nio-ssl.git
Working copy of https://github.com/apple/swift-nio-ssl.git resolved at 2.31.0
Creating working copy for https://github.com/swift-server/swift-service-lifecycle.git
Working copy of https://github.com/swift-server/swift-service-lifecycle.git resolved at 2.8.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.translationData.json
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/490] Copying sma.data.Translation_Names.json
[2/490] Copying obisdefinition.json
[2/490] Copying sma.data.objectMetaData.json
[2/490] Copying SMANetPacketDefinitions.json
[2/490] Write sources
In file included from /host/spi-builder-workspace/Sources/CNative/select.c:1:
/host/spi-builder-workspace/Sources/CNative/include/select.h:3:1: error: unknown type name '__BEGIN_DECLS'
    3 | __BEGIN_DECLS
      | ^
/host/spi-builder-workspace/Sources/CNative/include/select.h:7:1: error: unknown type name '__END_DECLS'
    7 | __END_DECLS
      | ^
2 errors generated.
[32/490] Compiling CNative select.c
[32/490] Compiling a_bool.cc
[32/490] Compiling _NumericsShims _NumericsShims.c
[32/490] Compiling a_dup.cc
[32/490] Compiling _AtomicsShims.c
[32/490] Compiling CNIOWindows shim.c
[32/490] Compiling a_d2i_fp.cc
[32/490] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.translationData.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb3.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sb4.definition.json
    /host/spi-builder-workspace/Sources/sma2mqttLibrary/DataObjects/Resources/sbs.translationData.json
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin SwiftFormatPlugin
Building for debugging...
[2/460] Write sources
[8/460] Compiling CNIOWindows WSAStartup.c
[8/460] Compiling _AtomicsShims.c
[10/460] Compiling CNIOWindows shim.c
[11/460] Compiling CNIOWASI CNIOWASI.c
[12/460] Compiling _NumericsShims _NumericsShims.c
In file included from /host/spi-builder-workspace/Sources/CNative/select.c:1:
/host/spi-builder-workspace/Sources/CNative/include/select.h:3:1: error: unknown type name '__BEGIN_DECLS'
    3 | __BEGIN_DECLS
      | ^
/host/spi-builder-workspace/Sources/CNative/include/select.h:7:1: error: unknown type name '__END_DECLS'
    7 | __END_DECLS
      | ^
2 errors generated.
[13/460] Compiling CNative select.c
[13/460] Compiling CNIOLinux shim.c
[13/460] Compiling CNIOLLHTTP c_nio_api.c
[13/460] Compiling CNIOLinux liburing_shims.c
[13/460] Compiling CNIOSHA1 c_nio_sha1.c
[13/460] Compiling CNIOLLHTTP c_nio_http.c
[13/460] Compiling CNIOLLHTTP c_nio_llhttp.c
[13/460] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm