The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LCLPing, reference 1.0.4 (436006), with Swift 6.1 for Wasm on 30 May 2025 18:42:52 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/Local-Connectivity-Lab/lcl-ping.git
Reference: 1.0.4
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/Local-Connectivity-Lab/lcl-ping
 * tag               1.0.4      -> FETCH_HEAD
HEAD is now at 4360069 Update Swiftnio to 2.81.0 (#14)
Cloned https://github.com/Local-Connectivity-Lab/lcl-ping.git
Revision (git rev-parse @):
43600693628d289b38bcebd4487a2a47fcecc42d
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/Local-Connectivity-Lab/lcl-ping.git at 1.0.4
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/Local-Connectivity-Lab/lcl-ping.git
https://github.com/Local-Connectivity-Lab/lcl-ping.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.81.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    },
    {
      "identity" : "swift-log",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.3",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-log.git"
    },
    {
      "identity" : "swift-nio-ssl",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.25.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio-ssl.git"
    },
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    }
  ],
  "manifest_display_name" : "LCLPing",
  "name" : "LCLPing",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "LCLPing",
      "targets" : [
        "LCLPing"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Demo",
      "targets" : [
        "Demo"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "UtilitiesTests",
      "module_type" : "SwiftTarget",
      "name" : "UtilitiesTests",
      "path" : "Tests/UtilitiesTests",
      "sources" : [
        "ArrayTests.swift",
        "Common.swift",
        "DoubleTests.swift",
        "MatchServerTimingTests.swift",
        "ObjectDecoderTests.swift",
        "SummarizePingResponseTests.swift",
        "TimeTests.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ModelTests",
      "module_type" : "SwiftTarget",
      "name" : "ModelTests",
      "path" : "Tests/ModelTests",
      "sources" : [
        "HTTPConfigurationTest.swift",
        "ICMPChecksumTests.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "LCLPing",
      "module_type" : "SwiftTarget",
      "name" : "LCLPing",
      "path" : "Sources/LCLPing",
      "product_dependencies" : [
        "NIO",
        "NIOCore",
        "NIOPosix",
        "NIOHTTP1",
        "NIOTestUtils",
        "NIOConcurrencyHelpers",
        "Logging",
        "NIOSSL",
        "Collections"
      ],
      "product_memberships" : [
        "LCLPing",
        "Demo"
      ],
      "sources" : [
        "Configuration.swift",
        "HTTP/HTTPChannelHandlers.swift",
        "HTTP/HTTPHandler.swift",
        "HTTP/HTTPPingClient.swift",
        "HTTP/HTTPSchema.swift",
        "HTTP/NIOHTTPClient.swift",
        "HTTP/URLSessionClient.swift",
        "ICMP/ICMPChannelHandlers.swift",
        "ICMP/ICMPHandler.swift",
        "ICMP/ICMPPingClient.swift",
        "Models/Errors+LCLPing.swift",
        "Models/HTTPLatency.swift",
        "Models/PingResponse.swift",
        "Models/PingResult.swift",
        "Models/PingState.swift",
        "Models/PingSummary.swift",
        "PingHandler.swift",
        "Pingable.swift",
        "Reachability.swift",
        "TestUtils/InboundHeaderRewriter.swift",
        "TestUtils/Rewritable.swift",
        "TestUtils/TrafficControllerChannelHandler.swift",
        "Utilities/Constants.swift",
        "Utilities/Hex.swift",
        "Utilities/LCLPing+Array.swift",
        "Utilities/LCLPing+ChannelOption.swift",
        "Utilities/LCLPing+Double.swift",
        "Utilities/LCLPing+SocketOption.swift",
        "Utilities/LCLPing+Time.swift",
        "Utilities/LCLPing+TimeInterval.swift",
        "Utilities/ObjectDecoder.swift",
        "Utilities/Utilities.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IntegrationTests",
      "module_type" : "SwiftTarget",
      "name" : "IntegrationTests",
      "path" : "Tests/IntegrationTests",
      "sources" : [
        "HTTPIntegrationTests.swift",
        "ICMPIntegrationTests.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ICMPChannelTests",
      "module_type" : "SwiftTarget",
      "name" : "ICMPChannelTests",
      "path" : "Tests/ICMPChannelTests",
      "sources" : [
        "Common.swift",
        "ICMPDecoderTests.swift",
        "ICMPDuplexerTests.swift",
        "IPDecoderTests.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HTTPChannelTests",
      "module_type" : "SwiftTarget",
      "name" : "HTTPChannelTests",
      "path" : "Tests/HTTPChannelTests",
      "sources" : [
        "HTTPTracingHandlerTests.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Demo",
      "module_type" : "SwiftTarget",
      "name" : "Demo",
      "path" : "Sources/Demo",
      "product_memberships" : [
        "Demo"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "LCLPing"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.8"
}
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-nio-ssl.git
Fetching https://github.com/apple/swift-nio.git
[1/3836] Fetching swift-log
[1613/20427] Fetching swift-log, swift-collections
[7985/35270] Fetching swift-log, swift-collections, swift-nio-ssl
[8579/111393] Fetching swift-log, swift-collections, swift-nio-ssl, swift-nio
Fetched https://github.com/apple/swift-log.git from cache (6.23s)
Fetched https://github.com/apple/swift-nio-ssl.git from cache (6.27s)
Fetched https://github.com/apple/swift-collections.git from cache (6.27s)
Fetched https://github.com/apple/swift-nio.git from cache (6.36s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (10.18s)
Fetching https://github.com/apple/swift-system.git
[1/4391] Fetching swift-system
Fetched https://github.com/apple/swift-system.git from cache (0.63s)
Fetching https://github.com/apple/swift-atomics.git
[1/1717] Fetching swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.62s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.11s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.88s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.08s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (4.72s)
Computing version for https://github.com/apple/swift-nio-ssl.git
Computed https://github.com/apple/swift-nio-ssl.git at 2.31.0 (1.28s)
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-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-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-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-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-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Building for debugging...
[0/461] Write sources
[21/461] Compiling _AtomicsShims.c
[22/461] Compiling CNIOWindows WSAStartup.c
[23/461] Compiling CNIOWindows shim.c
[24/461] Compiling CNIOLinux shim.c
[25/461] Compiling CNIOWASI CNIOWASI.c
[26/461] Compiling CNIOLinux liburing_shims.c
[27/461] Compiling CNIOLLHTTP c_nio_http.c
[28/461] Compiling CNIODarwin shim.c
[29/461] Compiling CNIOLLHTTP c_nio_api.c
[30/461] Compiling fiat_p256_adx_sqr.S
[31/461] Compiling fiat_p256_adx_mul.S
[32/461] Compiling fiat_curve25519_adx_square.S
[33/461] Compiling fiat_curve25519_adx_mul.S
[34/461] Compiling CNIOBoringSSLShims shims.c
[35/461] Write swift-version-24593BA9C3E375BF.txt
[36/461] Compiling a_bool.cc
[37/461] Compiling a_d2i_fp.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/a_bitstr.cc:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/asn1/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[38/461] Compiling a_bitstr.cc
[38/461] Compiling tls13_server.cc
[38/461] Compiling CNIOLLHTTP c_nio_llhttp.c
[38/461] Compiling tls13_enc.cc
[38/461] Compiling tls_record.cc
[38/461] Compiling tls_method.cc
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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
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.
[0/424] Compiling tls_method.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_enc.cc:34:
/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>
      |          ^~~~~~~~~~~
[0/424] Compiling tls13_enc.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls_record.cc:19:
/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.
[0/424] Compiling tls_record.cc
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.
[0/424] Compiling tls13_both.cc
[0/424] Compiling CNIOLLHTTP c_nio_llhttp.c
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/tls13_client.cc:30:
/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>
      |          ^~~~~~~~~~~
[0/424] Compiling tls13_client.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/ssl/t1_enc.cc:28:
/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>
      |          ^~~~~~~~~~~
[0/424] Compiling t1_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>
      |          ^~~~~~~~~~~
[0/424] Compiling tls13_server.cc
BUILD FAILURE 6.1 wasm