The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Systemator, reference master (16f128), with Swift 6.1 for Wasm on 27 May 2025 08:19:59 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/einstore/systemator.git
Reference: master
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/einstore/systemator
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 16f1289 adding docker
Cloned https://github.com/einstore/systemator.git
Revision (git rev-parse @):
16f1289353b9f0adcc783993e71fa39204b73fb7
SUCCESS checkout https://github.com/einstore/systemator.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/einstore/systemator.git
https://github.com/einstore/systemator.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "vapor",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0-alpha.1.5",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/vapor/vapor.git"
    },
    {
      "identity" : "shellkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.4.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Einstore/ShellKit.git"
    },
    {
      "identity" : "async-http-client",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0-alpha.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swift-server/async-http-client.git"
    }
  ],
  "manifest_display_name" : "Systemator",
  "name" : "Systemator",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "systemator",
      "targets" : [
        "Systemator"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "SystemController",
      "targets" : [
        "SystemController"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SystemManager",
      "targets" : [
        "SystemManager"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SystemClient",
      "targets" : [
        "SystemClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SystemModel",
      "targets" : [
        "SystemModel"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Systemator",
      "module_type" : "SwiftTarget",
      "name" : "Systemator",
      "path" : "Sources/Systemator",
      "product_dependencies" : [
        "Vapor"
      ],
      "product_memberships" : [
        "systemator"
      ],
      "sources" : [
        "app.swift",
        "boot.swift",
        "configure.swift",
        "main.swift",
        "routes.swift"
      ],
      "target_dependencies" : [
        "SystemController"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SystemModel",
      "module_type" : "SwiftTarget",
      "name" : "SystemModel",
      "path" : "Sources/SystemModel",
      "product_memberships" : [
        "systemator",
        "SystemController",
        "SystemManager",
        "SystemClient",
        "SystemModel"
      ],
      "sources" : [
        "SystemInfo.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemManagerTests",
      "module_type" : "SwiftTarget",
      "name" : "SystemManagerTests",
      "path" : "Tests/SystemManagerTests",
      "sources" : [
        "SystemManagerTests.swift"
      ],
      "target_dependencies" : [
        "SystemManager"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SystemManager",
      "module_type" : "SwiftTarget",
      "name" : "SystemManager",
      "path" : "Sources/SystemManager",
      "product_dependencies" : [
        "CommandKit"
      ],
      "product_memberships" : [
        "systemator",
        "SystemController",
        "SystemManager"
      ],
      "sources" : [
        "Command.swift",
        "Exports.swift",
        "Extensions/String+Tools.swift",
        "Model/Hdd.swift",
        "Model/Os.swift",
        "SystemManager.swift",
        "Tools/Lscpu.swift",
        "Tools/Stats.swift",
        "Tools/Sysctl.swift"
      ],
      "target_dependencies" : [
        "SystemModel"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemController",
      "module_type" : "SwiftTarget",
      "name" : "SystemController",
      "path" : "Sources/SystemController",
      "product_dependencies" : [
        "Vapor"
      ],
      "product_memberships" : [
        "systemator",
        "SystemController"
      ],
      "sources" : [
        "Controller.swift",
        "Extensions/SystemInfo+Vapor.swift",
        "Model/Connection.swift"
      ],
      "target_dependencies" : [
        "SystemManager"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SystemClient",
      "module_type" : "SwiftTarget",
      "name" : "SystemClient",
      "path" : "Sources/SystemClient",
      "product_dependencies" : [
        "AsyncHTTPClient"
      ],
      "product_memberships" : [
        "SystemClient"
      ],
      "sources" : [
        "System.swift"
      ],
      "target_dependencies" : [
        "SystemModel"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/vapor/vapor.git
Fetching https://github.com/swift-server/async-http-client.git
Fetching https://github.com/Einstore/ShellKit.git
[1/273] Fetching shellkit
[272/14287] Fetching shellkit, async-http-client
[1394/88665] Fetching shellkit, async-http-client, vapor
Fetched https://github.com/swift-server/async-http-client.git from cache (1.24s)
[52336/74651] Fetching shellkit, vapor
Fetched https://github.com/Einstore/ShellKit.git from cache (2.02s)
Fetched https://github.com/vapor/vapor.git from cache (2.06s)
Computing version for https://github.com/Einstore/ShellKit.git
Computed https://github.com/Einstore/ShellKit.git at 1.6.0 (2.61s)
Fetching https://github.com/Einstore/Shout.git
Fetching https://github.com/apple/swift-nio.git
Fetching https://github.com/Einstore/WebErrorKit.git
[1/28] Fetching weberrorkit
[29/440] Fetching weberrorkit, shout
[441/76483] Fetching weberrorkit, shout, swift-nio
Fetched https://github.com/Einstore/WebErrorKit.git from cache (4.17s)
Fetched https://github.com/Einstore/Shout.git from cache (4.17s)
Fetched https://github.com/apple/swift-nio.git from cache (4.25s)
Computing version for https://github.com/Einstore/Shout.git
Computed https://github.com/Einstore/Shout.git at 0.5.1 (6.26s)
Fetching https://github.com/jakeheis/CSSH
Fetching https://github.com/IBM-Swift/BlueSocket
[1/26] Fetching cssh
[23/2968] Fetching cssh, bluesocket
Fetched https://github.com/jakeheis/CSSH from cache (0.34s)
Fetched https://github.com/IBM-Swift/BlueSocket from cache (0.34s)
Computing version for https://github.com/Einstore/WebErrorKit.git
Computed https://github.com/Einstore/WebErrorKit.git at 0.0.1 (0.81s)
Computing version for https://github.com/jakeheis/CSSH
Computed https://github.com/jakeheis/CSSH at 1.0.3 (0.67s)
Computing version for https://github.com/IBM-Swift/BlueSocket
Computed https://github.com/IBM-Swift/BlueSocket at 1.0.200 (0.67s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (1.03s)
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
[1626/6101] Fetching swift-system, swift-atomics
[5025/22692] Fetching swift-system, swift-atomics, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (0.43s)
[3536/18301] Fetching swift-atomics, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.52s)
[4314/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.08s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.60s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.46s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.70s)
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.54s)
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-algorithms.git
Fetching https://github.com/apple/swift-nio-http2.git
Fetching https://github.com/apple/swift-nio-extras.git
Fetching https://github.com/apple/swift-nio-transport-services.git
[1/3836] Fetching swift-log
[3799/9750] Fetching swift-log, swift-nio-extras
[3838/15709] Fetching swift-log, swift-nio-extras, swift-algorithms
[4729/18376] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-nio-transport-services
[8797/29903] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-nio-transport-services, swift-nio-http2
Fetching https://github.com/apple/swift-nio-ssl.git
Fetched https://github.com/apple/swift-nio-transport-services.git from cache (0.62s)
[18130/27236] Fetching swift-log, swift-nio-extras, swift-algorithms, swift-nio-http2
Fetched https://github.com/apple/swift-nio-extras.git from cache (0.63s)
[12331/21322] Fetching swift-log, swift-algorithms, swift-nio-http2
[21323/36165] Fetching swift-log, swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.69s)
[23869/32329] Fetching swift-algorithms, swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-algorithms.git from cache (1.69s)
[18058/26370] Fetching swift-nio-http2, swift-nio-ssl
Fetched https://github.com/apple/swift-nio-http2.git from cache (1.71s)
[6828/14843] Fetching swift-nio-ssl
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.19s)
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 (3.45s)
Computing version for https://github.com/apple/swift-nio-http2.git
Computed https://github.com/apple/swift-nio-http2.git at 1.36.0 (0.59s)
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.78s)
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.78s)
Fetching https://github.com/apple/swift-http-types.git
Fetching https://github.com/apple/swift-asn1.git
Fetching https://github.com/apple/swift-http-structured-headers.git
Fetching https://github.com/swift-server/swift-service-lifecycle.git
Fetching https://github.com/apple/swift-certificates.git
[1/2426] Fetching swift-service-lifecycle
[147/4016] Fetching swift-service-lifecycle, swift-asn1
[841/5157] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers
[1405/6061] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-http-types
[5872/12216] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-http-types, swift-certificates
Fetching https://github.com/apple/swift-async-algorithms.git
Fetched https://github.com/apple/swift-http-types.git from cache (0.45s)
[6014/11312] Fetching swift-service-lifecycle, swift-asn1, swift-http-structured-headers, swift-certificates
Fetched https://github.com/apple/swift-http-structured-headers.git from cache (0.65s)
Fetched https://github.com/apple/swift-asn1.git from cache (0.65s)
Fetched https://github.com/swift-server/swift-service-lifecycle.git from cache (0.64s)
Fetched https://github.com/apple/swift-certificates.git from cache (0.65s)
[1/4985] Fetching swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms.git from cache (0.39s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (1.33s)
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 (0.72s)
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.57s)
Computing version for https://github.com/apple/swift-certificates.git
Computed https://github.com/apple/swift-certificates.git at 1.10.0 (0.61s)
Fetching https://github.com/apple/swift-crypto.git
[1/13936] Fetching swift-crypto
Fetched https://github.com/apple/swift-crypto.git from cache (1.33s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.12.3 (3.16s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (0.87s)
Fetching https://github.com/apple/swift-numerics.git
[1/5691] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git from cache (0.48s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.3.2 (1.09s)
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.44s)
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.45s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.0.3 (0.55s)
Computing version for https://github.com/vapor/vapor.git
Computed https://github.com/vapor/vapor.git at 4.115.0 (0.63s)
Fetching https://github.com/vapor/websocket-kit.git
Fetching https://github.com/vapor/multipart-kit.git
Fetching https://github.com/apple/swift-service-context.git
Fetching https://github.com/apple/swift-metrics.git
Fetching https://github.com/apple/swift-distributed-tracing.git
Fetching https://github.com/vapor/routing-kit.git
[1/1063] Fetching swift-service-context
[1064/3672] Fetching swift-service-context, websocket-kit
[1978/5878] Fetching swift-service-context, websocket-kit, swift-metrics
[1979/9176] Fetching swift-service-context, websocket-kit, swift-metrics, multipart-kit
[4136/14150] Fetching swift-service-context, websocket-kit, swift-metrics, multipart-kit, swift-distributed-tracing
[7871/34877] Fetching swift-service-context, websocket-kit, swift-metrics, multipart-kit, swift-distributed-tracing, routing-kit
Fetched https://github.com/apple/swift-service-context.git from cache (1.01s)
Fetched https://github.com/apple/swift-metrics.git from cache (1.01s)
Fetched https://github.com/apple/swift-distributed-tracing.git from cache (1.01s)
Fetching https://github.com/vapor/console-kit.git
Fetched https://github.com/vapor/routing-kit.git from cache (1.03s)
Fetching https://github.com/vapor/async-kit.git
[3308/11484] Fetching websocket-kit, multipart-kit, console-kit
[6878/13854] Fetching websocket-kit, multipart-kit, console-kit, async-kit
[11061/11484] Fetching websocket-kit, multipart-kit, console-kit
Fetched https://github.com/vapor/async-kit.git from cache (0.30s)
Fetched https://github.com/vapor/console-kit.git from cache (0.32s)
Fetched https://github.com/vapor/websocket-kit.git from cache (1.61s)
Fetched https://github.com/vapor/multipart-kit.git from cache (1.65s)
Computing version for https://github.com/apple/swift-service-context.git
Computed https://github.com/apple/swift-service-context.git at 1.2.0 (2.10s)
Computing version for https://github.com/vapor/routing-kit.git
Computed https://github.com/vapor/routing-kit.git at 4.9.2 (0.43s)
Computing version for https://github.com/vapor/websocket-kit.git
Computed https://github.com/vapor/websocket-kit.git at 2.16.1 (0.47s)
Computing version for https://github.com/apple/swift-distributed-tracing.git
Computed https://github.com/apple/swift-distributed-tracing.git at 1.2.0 (0.48s)
Computing version for https://github.com/apple/swift-metrics.git
Computed https://github.com/apple/swift-metrics.git at 2.7.0 (0.56s)
Computing version for https://github.com/vapor/console-kit.git
Computed https://github.com/vapor/console-kit.git at 4.15.2 (0.50s)
Computing version for https://github.com/vapor/async-kit.git
Computed https://github.com/vapor/async-kit.git at 1.20.0 (0.47s)
Computing version for https://github.com/vapor/multipart-kit.git
Computed https://github.com/vapor/multipart-kit.git at 4.7.1 (0.42s)
Creating working copy for https://github.com/vapor/multipart-kit.git
Working copy of https://github.com/vapor/multipart-kit.git resolved at 4.7.1
Creating working copy for https://github.com/Einstore/WebErrorKit.git
Working copy of https://github.com/Einstore/WebErrorKit.git resolved at 0.0.1
Creating working copy for https://github.com/vapor/async-kit.git
Working copy of https://github.com/vapor/async-kit.git resolved at 1.20.0
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/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-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-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/vapor/vapor.git
Working copy of https://github.com/vapor/vapor.git resolved at 4.115.0
Creating working copy for https://github.com/apple/swift-distributed-tracing.git
Working copy of https://github.com/apple/swift-distributed-tracing.git resolved at 1.2.0
Creating working copy for https://github.com/vapor/console-kit.git
Working copy of https://github.com/vapor/console-kit.git resolved at 4.15.2
Creating working copy for https://github.com/jakeheis/CSSH
Working copy of https://github.com/jakeheis/CSSH resolved at 1.0.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/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/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/vapor/routing-kit.git
Working copy of https://github.com/vapor/routing-kit.git resolved at 4.9.2
Creating working copy for https://github.com/Einstore/ShellKit.git
Working copy of https://github.com/Einstore/ShellKit.git resolved at 1.6.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/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-metrics.git
Working copy of https://github.com/apple/swift-metrics.git resolved at 2.7.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/IBM-Swift/BlueSocket
Working copy of https://github.com/IBM-Swift/BlueSocket resolved at 1.0.200
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-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-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
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-service-context.git
Working copy of https://github.com/apple/swift-service-context.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
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-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
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/Einstore/Shout.git
Working copy of https://github.com/Einstore/Shout.git resolved at 0.5.1
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/vapor/websocket-kit.git
Working copy of https://github.com/vapor/websocket-kit.git resolved at 2.16.1
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
Building for debugging...
[0/907] Write sources
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: error: call to undeclared function 'strptime_l'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                                      ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:38: note: did you mean 'strftime_l'?
/root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk/include/wasm32-wasi/time.h:93:8: note: 'strftime_l' declared here
   93 | size_t strftime_l (char *  __restrict, size_t, const char *  __restrict, const struct tm *  __restrict, locale_t);
      |        ^
/host/spi-builder-workspace/.build/checkouts/async-http-client/Sources/CAsyncHTTPClient/CAsyncHTTPClient.c:37:18: error: incompatible integer to pointer conversion initializing 'const char *' with an expression of type 'int' [-Wint-conversion]
   37 |     const char * firstNonProcessed = strptime_l(string, format, result, (locale_t)locale);
      |                  ^                   ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2 errors generated.
[12/907] Compiling CAsyncHTTPClient CAsyncHTTPClient.c
[12/907] Compiling a_i2d_fp.cc
[12/907] Compiling a_d2i_fp.cc
[12/907] Compiling a_bitstr.cc
[12/907] Compiling a_bool.cc
[12/907] Compiling a_gentm.cc
[12/907] Compiling a_dup.cc
[12/907] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
warning: 'cssh': ignoring declared target(s) 'CSSH' in the system package
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
warning: you may be able to install libssh2 using your system-packager:
    apt-get install libssh2-1-dev
[0/1] Planning build
Building for debugging...
[0/895] Write sources
[51/895] Compiling _NumericsShims _NumericsShims.c
[52/895] Compiling _AtomicsShims.c
[53/895] Compiling CNIOWindows shim.c
[54/895] Compiling CNIOWASI CNIOWASI.c
[55/895] Compiling CSystem shims.c
[56/895] Compiling CVaporBcrypt bcrypt.c
[57/895] Compiling CNIOWindows WSAStartup.c
[57/895] Compiling CNIOLinux shim.c
[59/895] Compiling CNIOLinux liburing_shims.c
[59/895] Compiling CVaporBcrypt blf.c
[61/895] Compiling CNIOSHA1 c_nio_sha1.c
[62/895] Compiling CNIOLLHTTP c_nio_http.c
[63/895] Compiling CNIOExtrasZlib empty.c
[64/895] Compiling CNIODarwin shim.c
[65/895] Compiling CNIOLLHTTP c_nio_api.c
[66/895] Compiling fiat_p256_adx_sqr.S
[67/895] Compiling fiat_curve25519_adx_square.S
[68/895] Compiling fiat_p256_adx_mul.S
[69/895] Compiling fiat_curve25519_adx_mul.S
[70/895] Write swift-version-24593BA9C3E375BF.txt
[71/895] Compiling CNIOBoringSSLShims shims.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_both.cc:29:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[72/899] Compiling tls13_both.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_method.cc:17:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[72/899] Compiling tls_method.cc
[72/899] Compiling tls_record.cc
[72/899] Compiling tls13_client.cc
[72/899] Compiling CNIOLLHTTP c_nio_llhttp.c
[72/899] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_server.cc:32:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/../crypto/internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
[72/899] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm