The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ICMPPing, reference main (34895d), with Swift 6.1 for Wasm on 28 May 2025 10:40:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/LebJe/ICMPPing.git
Reference: main
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/LebJe/ICMPPing
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 34895d0 Add Brewfile
Cloned https://github.com/LebJe/ICMPPing.git
Revision (git rev-parse @):
34895d0648257d24adb9fd3c32a195afd3790270
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/LebJe/ICMPPing.git at main
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/LebJe/ICMPPing.git
https://github.com/LebJe/ICMPPing.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "c_language_standard" : "c99",
  "cxx_language_standard" : "c++14",
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "ICMPPing",
  "name" : "ICMPPing",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "watchos",
      "version" : "6.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "ICMPPing",
      "targets" : [
        "ICMPPing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ICMPPingTests",
      "module_type" : "SwiftTarget",
      "name" : "ICMPPingTests",
      "path" : "Tests/ICMPPingTests",
      "sources" : [
        "ICMPPingTests.swift"
      ],
      "target_dependencies" : [
        "ICMPPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ICMPPing",
      "module_type" : "SwiftTarget",
      "name" : "ICMPPing",
      "path" : "Sources/ICMPPing",
      "product_memberships" : [
        "ICMPPing"
      ],
      "sources" : [
        "Extensions.swift",
        "ICMPPing.swift",
        "IPAddress.swift"
      ],
      "target_dependencies" : [
        "ICMPLib"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ICMPLib",
      "module_type" : "ClangTarget",
      "name" : "ICMPLib",
      "path" : "Sources/ICMPLib",
      "product_memberships" : [
        "ICMPPing"
      ],
      "sources" : [
        "Sources/Conversion.cpp",
        "Sources/IPAddress.cpp",
        "Sources/Ping.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (1.39s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (2.03s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3390] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.57s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.21s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.3
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write sources
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/IPAddress.cpp:1:
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.hpp:6:
/host/spi-builder-workspace/Sources/ICMPLib/Sources/icmplib.h:25:10: fatal error: 'netdb.h' file not found
   25 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[3/7] Compiling IPAddress.cpp
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Ping.cpp:1:
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.hpp:6:
/host/spi-builder-workspace/Sources/ICMPLib/Sources/icmplib.h:25:10: fatal error: 'netdb.h' file not found
   25 | #include <netdb.h>
      |          ^~~~~~~~~
[3/7] Compiling Ping.cpp
[3/7] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.cpp:1:
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.hpp:6:
/host/spi-builder-workspace/Sources/ICMPLib/Sources/icmplib.h:25:10: fatal error: 'netdb.h' file not found
   25 | #include <netdb.h>
      |          ^~~~~~~~~
[3/7] Compiling Conversion.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Ping.cpp:1:
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.hpp:6:
/host/spi-builder-workspace/Sources/ICMPLib/Sources/icmplib.h:25:10: fatal error: 'netdb.h' file not found
   25 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[2/6] Compiling Ping.cpp
[2/6] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/IPAddress.cpp:1:
In file included from /host/spi-builder-workspace/Sources/ICMPLib/Sources/Conversion.hpp:6:
/host/spi-builder-workspace/Sources/ICMPLib/Sources/icmplib.h:25:10: fatal error: 'netdb.h' file not found
   25 | #include <netdb.h>
      |          ^~~~~~~~~
1 error generated.
[2/6] Compiling IPAddress.cpp
[2/6] Compiling Conversion.cpp
BUILD FAILURE 6.1 wasm