The Swift Package Index logo.Swift Package Index

Build Information

Failed to build LCLPing, reference main (436006), with Swift 6.1 for Wasm on 30 May 2025 18:42:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/Local-Connectivity-Lab/lcl-ping
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
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 main
========================================
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-2":/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-nio-ssl.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-log.git
[1/3836] Fetching swift-log
[3837/20427] Fetching swift-log, swift-collections
[4501/35270] Fetching swift-log, swift-collections, swift-nio-ssl
Fetched https://github.com/apple/swift-log.git from cache (1.59s)
Fetched https://github.com/apple/swift-collections.git from cache (1.67s)
Fetching https://github.com/apple/swift-nio.git
Fetched https://github.com/apple/swift-nio-ssl.git from cache (2.22s)
[1/76123] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (7.13s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (13.09s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
[1/4391] Fetching swift-system
[177/6108] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (0.75s)
Fetched https://github.com/apple/swift-system.git from cache (0.76s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (1.67s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (4.12s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.18s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.6.3 (0.96s)
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.11s)
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
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-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-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
Building for debugging...
[0/461] Compiling a_d2i_fp.cc
[1/461] Compiling a_gentm.cc
[2/461] Write sources
[5/461] Write swift-version-24593BA9C3E375BF.txt
[5/461] Write sources
[24/461] Compiling _AtomicsShims.c
[25/461] Compiling CNIOWindows shim.c
[26/461] Compiling a_i2d_fp.cc
[27/465] Compiling a_dup.cc
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/v3_pcons.cc:21:
In file included from /host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/internal.h:18:
/host/spi-builder-workspace/.build/checkouts/swift-nio-ssl/Sources/CNIOBoringSSL/crypto/x509/../internal.h:32:10: fatal error: 'pthread.h' file not found
   32 | #include <pthread.h>
      |          ^~~~~~~~~~~
1 error generated.
[28/472] Compiling v3_pcons.cc
[28/472] Compiling v3_prn.cc
[28/472] Compiling v3_pmaps.cc
[28/472] Compiling v3_purp.cc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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...
[0/434] Compiling CNIOLinux liburing_shims.c
[1/434] Compiling CNIOLinux shim.c
[2/434] Compiling CNIOWASI CNIOWASI.c
[3/434] Compiling CNIOWindows WSAStartup.c
[4/434] Compiling CNIOLLHTTP c_nio_http.c
[5/434] Compiling CNIODarwin shim.c
[6/434] Compiling fiat_curve25519_adx_square.S
[7/434] Compiling fiat_p256_adx_sqr.S
[8/434] Compiling CNIOLLHTTP c_nio_api.c
[9/434] Compiling fiat_p256_adx_mul.S
[10/434] Compiling fiat_curve25519_adx_mul.S
[11/434] Write swift-version-24593BA9C3E375BF.txt
[12/434] Compiling CNIOBoringSSLShims shims.c
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>
      |          ^~~~~~~~~~~
1 error generated.
[13/438] Compiling tls13_server.cc
[13/438] Compiling tls13_both.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>
      |          ^~~~~~~~~~~
[13/438] Compiling tls_record.cc
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>
      |          ^~~~~~~~~~~
[13/438] Compiling tls13_client.cc
[13/438] Compiling CNIOLLHTTP c_nio_llhttp.c
[14/438] Compiling _NIODataStructures PriorityQueue.swift
[15/438] Compiling _NIODataStructures _TinyArray.swift
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>
      |          ^~~~~~~~~~~
[15/438] Compiling tls13_enc.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>
      |          ^~~~~~~~~~~
[15/438] Compiling tls_method.cc
BUILD FAILURE 6.1 wasm